var etwist=function() {
etwist.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
etwist.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return etwist._staticInstance.get_path();},
MenuChange:function(MenuNumber,succeededCallback, failedCallback, userContext) {
/// <param name="MenuNumber" 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(), 'MenuChange',false,{MenuNumber:MenuNumber},succeededCallback,failedCallback,userContext); },
FindMenu:function(MenuNumber,succeededCallback, failedCallback, userContext) {
/// <param name="MenuNumber" 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(), 'FindMenu',false,{MenuNumber:MenuNumber},succeededCallback,failedCallback,userContext); }}
etwist.registerClass('etwist',Sys.Net.WebServiceProxy);
etwist._staticInstance = new etwist();
etwist.set_path = function(value) {
etwist._staticInstance.set_path(value); }
etwist.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return etwist._staticInstance.get_path();}
etwist.set_timeout = function(value) {
etwist._staticInstance.set_timeout(value); }
etwist.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return etwist._staticInstance.get_timeout(); }
etwist.set_defaultUserContext = function(value) { 
etwist._staticInstance.set_defaultUserContext(value); }
etwist.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return etwist._staticInstance.get_defaultUserContext(); }
etwist.set_defaultSucceededCallback = function(value) { 
 etwist._staticInstance.set_defaultSucceededCallback(value); }
etwist.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return etwist._staticInstance.get_defaultSucceededCallback(); }
etwist.set_defaultFailedCallback = function(value) { 
etwist._staticInstance.set_defaultFailedCallback(value); }
etwist.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return etwist._staticInstance.get_defaultFailedCallback(); }
etwist.set_path("/WebServices/etwist.asmx");
etwist.MenuChange= function(MenuNumber,onSuccess,onFailed,userContext) {
/// <param name="MenuNumber" 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>
etwist._staticInstance.MenuChange(MenuNumber,onSuccess,onFailed,userContext); }
etwist.FindMenu= function(MenuNumber,onSuccess,onFailed,userContext) {
/// <param name="MenuNumber" 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>
etwist._staticInstance.FindMenu(MenuNumber,onSuccess,onFailed,userContext); }

