Type.registerNamespace('EFGStorage.WebServices');
EFGStorage.WebServices.StorageService=function() {
EFGStorage.WebServices.StorageService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EFGStorage.WebServices.StorageService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return EFGStorage.WebServices.StorageService._staticInstance.get_path();},
UpdateStageItem:function(id,x,y,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="String">System.String</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</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(), 'UpdateStageItem',false,{id:id,x:x,y:y},succeededCallback,failedCallback,userContext); },
UploadScreenShotAsBase64:function(stageId,base64image,succeededCallback, failedCallback, userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="base64image" 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(), 'UploadScreenShotAsBase64',false,{stageId:stageId,base64image:base64image},succeededCallback,failedCallback,userContext); },
CreateStageItem:function(stageId,shelfId,x,y,succeededCallback, failedCallback, userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="shelfId" type="String">System.String</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</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(), 'CreateStageItem',false,{stageId:stageId,shelfId:shelfId,x:x,y:y},succeededCallback,failedCallback,userContext); },
ProcessItemActionCommands:function(stageId,commands,succeededCallback, failedCallback, userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="commands" type="Array">EFGStorage.Commands.ItemActionCommand[]</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(), 'ProcessItemActionCommands',false,{stageId:stageId,commands:commands},succeededCallback,failedCallback,userContext); },
DeleteStageItem:function(stageId,id,succeededCallback, failedCallback, userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="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(), 'DeleteStageItem',false,{stageId:stageId,id:id},succeededCallback,failedCallback,userContext); },
ClearStage:function(stageId,succeededCallback, failedCallback, userContext) {
/// <param name="stageId" 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(), 'ClearStage',false,{stageId:stageId},succeededCallback,failedCallback,userContext); },
GetStageItem:function(stageId,stageItemId,succeededCallback, failedCallback, userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="stageItemId" 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(), 'GetStageItem',false,{stageId:stageId,stageItemId:stageItemId},succeededCallback,failedCallback,userContext); },
GetShelfStatuses:function(stageId,succeededCallback, failedCallback, userContext) {
/// <param name="stageId" 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(), 'GetShelfStatuses',false,{stageId:stageId},succeededCallback,failedCallback,userContext); },
GetFullStage:function(stageId,succeededCallback, failedCallback, userContext) {
/// <param name="stageId" 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(), 'GetFullStage',false,{stageId:stageId},succeededCallback,failedCallback,userContext); }}
EFGStorage.WebServices.StorageService.registerClass('EFGStorage.WebServices.StorageService',Sys.Net.WebServiceProxy);
EFGStorage.WebServices.StorageService._staticInstance = new EFGStorage.WebServices.StorageService();
EFGStorage.WebServices.StorageService.set_path = function(value) {
EFGStorage.WebServices.StorageService._staticInstance.set_path(value); }
EFGStorage.WebServices.StorageService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return EFGStorage.WebServices.StorageService._staticInstance.get_path();}
EFGStorage.WebServices.StorageService.set_timeout = function(value) {
EFGStorage.WebServices.StorageService._staticInstance.set_timeout(value); }
EFGStorage.WebServices.StorageService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return EFGStorage.WebServices.StorageService._staticInstance.get_timeout(); }
EFGStorage.WebServices.StorageService.set_defaultUserContext = function(value) { 
EFGStorage.WebServices.StorageService._staticInstance.set_defaultUserContext(value); }
EFGStorage.WebServices.StorageService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return EFGStorage.WebServices.StorageService._staticInstance.get_defaultUserContext(); }
EFGStorage.WebServices.StorageService.set_defaultSucceededCallback = function(value) { 
 EFGStorage.WebServices.StorageService._staticInstance.set_defaultSucceededCallback(value); }
EFGStorage.WebServices.StorageService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return EFGStorage.WebServices.StorageService._staticInstance.get_defaultSucceededCallback(); }
EFGStorage.WebServices.StorageService.set_defaultFailedCallback = function(value) { 
EFGStorage.WebServices.StorageService._staticInstance.set_defaultFailedCallback(value); }
EFGStorage.WebServices.StorageService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return EFGStorage.WebServices.StorageService._staticInstance.get_defaultFailedCallback(); }
EFGStorage.WebServices.StorageService.set_path("/efgstorage/WebServices/StorageService.asmx");
EFGStorage.WebServices.StorageService.UpdateStageItem= function(id,x,y,onSuccess,onFailed,userContext) {
/// <param name="id" type="String">System.String</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</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>
EFGStorage.WebServices.StorageService._staticInstance.UpdateStageItem(id,x,y,onSuccess,onFailed,userContext); }
EFGStorage.WebServices.StorageService.UploadScreenShotAsBase64= function(stageId,base64image,onSuccess,onFailed,userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="base64image" 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>
EFGStorage.WebServices.StorageService._staticInstance.UploadScreenShotAsBase64(stageId,base64image,onSuccess,onFailed,userContext); }
EFGStorage.WebServices.StorageService.CreateStageItem= function(stageId,shelfId,x,y,onSuccess,onFailed,userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="shelfId" type="String">System.String</param>
/// <param name="x" type="Number">System.Int32</param>
/// <param name="y" type="Number">System.Int32</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>
EFGStorage.WebServices.StorageService._staticInstance.CreateStageItem(stageId,shelfId,x,y,onSuccess,onFailed,userContext); }
EFGStorage.WebServices.StorageService.ProcessItemActionCommands= function(stageId,commands,onSuccess,onFailed,userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="commands" type="Array">EFGStorage.Commands.ItemActionCommand[]</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>
EFGStorage.WebServices.StorageService._staticInstance.ProcessItemActionCommands(stageId,commands,onSuccess,onFailed,userContext); }
EFGStorage.WebServices.StorageService.DeleteStageItem= function(stageId,id,onSuccess,onFailed,userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="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>
EFGStorage.WebServices.StorageService._staticInstance.DeleteStageItem(stageId,id,onSuccess,onFailed,userContext); }
EFGStorage.WebServices.StorageService.ClearStage= function(stageId,onSuccess,onFailed,userContext) {
/// <param name="stageId" 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>
EFGStorage.WebServices.StorageService._staticInstance.ClearStage(stageId,onSuccess,onFailed,userContext); }
EFGStorage.WebServices.StorageService.GetStageItem= function(stageId,stageItemId,onSuccess,onFailed,userContext) {
/// <param name="stageId" type="String">System.String</param>
/// <param name="stageItemId" 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>
EFGStorage.WebServices.StorageService._staticInstance.GetStageItem(stageId,stageItemId,onSuccess,onFailed,userContext); }
EFGStorage.WebServices.StorageService.GetShelfStatuses= function(stageId,onSuccess,onFailed,userContext) {
/// <param name="stageId" 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>
EFGStorage.WebServices.StorageService._staticInstance.GetShelfStatuses(stageId,onSuccess,onFailed,userContext); }
EFGStorage.WebServices.StorageService.GetFullStage= function(stageId,onSuccess,onFailed,userContext) {
/// <param name="stageId" 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>
EFGStorage.WebServices.StorageService._staticInstance.GetFullStage(stageId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('EFGStorage.Commands');
if (typeof(EFGStorage.Commands.ItemActionCommand) === 'undefined') {
EFGStorage.Commands.ItemActionCommand=gtc("EFGStorage.Commands.ItemActionCommand");
EFGStorage.Commands.ItemActionCommand.registerClass('EFGStorage.Commands.ItemActionCommand');
}
