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

