Type.registerNamespace('Spatial.Web');
Spatial.Web.ISPAWCFService=function() {
Spatial.Web.ISPAWCFService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Spatial.Web.ISPAWCFService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Spatial.Web.ISPAWCFService._staticInstance.get_path();},
xmlOperations:function(xml_model_operation,succeededCallback, failedCallback, userContext) {
/// <param name="xml_model_operation" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'xmlOperations',false,{xml_model_operation:xml_model_operation},succeededCallback,failedCallback,userContext); },
refreshDisplayPackets:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'refreshDisplayPackets',false,{},succeededCallback,failedCallback,userContext); },
loadNextDisplayPacket:function(Client_ID,succeededCallback, failedCallback, userContext) {
/// <param name="Client_ID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'loadNextDisplayPacket',false,{Client_ID:Client_ID},succeededCallback,failedCallback,userContext); },
test_service:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'test_service',false,{},succeededCallback,failedCallback,userContext); },
shutdownService:function(Client_ID,succeededCallback, failedCallback, userContext) {
/// <param name="Client_ID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'shutdownService',false,{Client_ID:Client_ID},succeededCallback,failedCallback,userContext); },
AvaiableMachines:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'AvaiableMachines',false,{},succeededCallback,failedCallback,userContext); }}
Spatial.Web.ISPAWCFService.registerClass('Spatial.Web.ISPAWCFService',Sys.Net.WebServiceProxy);
Spatial.Web.ISPAWCFService._staticInstance = new Spatial.Web.ISPAWCFService();
Spatial.Web.ISPAWCFService.set_path = function(value) {
Spatial.Web.ISPAWCFService._staticInstance.set_path(value); }
Spatial.Web.ISPAWCFService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Spatial.Web.ISPAWCFService._staticInstance.get_path();}
Spatial.Web.ISPAWCFService.set_timeout = function(value) {
Spatial.Web.ISPAWCFService._staticInstance.set_timeout(value); }
Spatial.Web.ISPAWCFService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Spatial.Web.ISPAWCFService._staticInstance.get_timeout(); }
Spatial.Web.ISPAWCFService.set_defaultUserContext = function(value) { 
Spatial.Web.ISPAWCFService._staticInstance.set_defaultUserContext(value); }
Spatial.Web.ISPAWCFService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Spatial.Web.ISPAWCFService._staticInstance.get_defaultUserContext(); }
Spatial.Web.ISPAWCFService.set_defaultSucceededCallback = function(value) { 
 Spatial.Web.ISPAWCFService._staticInstance.set_defaultSucceededCallback(value); }
Spatial.Web.ISPAWCFService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Spatial.Web.ISPAWCFService._staticInstance.get_defaultSucceededCallback(); }
Spatial.Web.ISPAWCFService.set_defaultFailedCallback = function(value) { 
Spatial.Web.ISPAWCFService._staticInstance.set_defaultFailedCallback(value); }
Spatial.Web.ISPAWCFService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Spatial.Web.ISPAWCFService._staticInstance.get_defaultFailedCallback(); }
Spatial.Web.ISPAWCFService.set_path("/SPAWCFMasterRouterService.svc");
Spatial.Web.ISPAWCFService.xmlOperations= function(xml_model_operation,onSuccess,onFailed,userContext) {
/// <param name="xml_model_operation" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Spatial.Web.ISPAWCFService._staticInstance.xmlOperations(xml_model_operation,onSuccess,onFailed,userContext); }
Spatial.Web.ISPAWCFService.refreshDisplayPackets= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Spatial.Web.ISPAWCFService._staticInstance.refreshDisplayPackets(onSuccess,onFailed,userContext); }
Spatial.Web.ISPAWCFService.loadNextDisplayPacket= function(Client_ID,onSuccess,onFailed,userContext) {
/// <param name="Client_ID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Spatial.Web.ISPAWCFService._staticInstance.loadNextDisplayPacket(Client_ID,onSuccess,onFailed,userContext); }
Spatial.Web.ISPAWCFService.test_service= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Spatial.Web.ISPAWCFService._staticInstance.test_service(onSuccess,onFailed,userContext); }
Spatial.Web.ISPAWCFService.shutdownService= function(Client_ID,onSuccess,onFailed,userContext) {
/// <param name="Client_ID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Spatial.Web.ISPAWCFService._staticInstance.shutdownService(Client_ID,onSuccess,onFailed,userContext); }
Spatial.Web.ISPAWCFService.AvaiableMachines= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Spatial.Web.ISPAWCFService._staticInstance.AvaiableMachines(onSuccess,onFailed,userContext); }

