var UnitConvWebService=function() {
UnitConvWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
UnitConvWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return UnitConvWebService._staticInstance.get_path();},
GetUnitListWithReset:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUnitListWithReset',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetUnitList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUnitList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetRandomExample:function(name,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRandomExample',false,{name:name},succeededCallback,failedCallback,userContext); },
SolveUnit:function(InputStr,format,prec,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SolveUnit',false,{InputStr:InputStr,format:format,prec:prec},succeededCallback,failedCallback,userContext); },
GetClientUnitData:function(QID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetClientUnitData',false,{QID:QID},succeededCallback,failedCallback,userContext); },
PingSite:function(url,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PingSite',false,{url:url},succeededCallback,failedCallback,userContext); }}
UnitConvWebService.registerClass('UnitConvWebService',Sys.Net.WebServiceProxy);
UnitConvWebService._staticInstance = new UnitConvWebService();
UnitConvWebService.set_path = function(value) { UnitConvWebService._staticInstance.set_path(value); }
UnitConvWebService.get_path = function() { return UnitConvWebService._staticInstance.get_path(); }
UnitConvWebService.set_timeout = function(value) { UnitConvWebService._staticInstance.set_timeout(value); }
UnitConvWebService.get_timeout = function() { return UnitConvWebService._staticInstance.get_timeout(); }
UnitConvWebService.set_defaultUserContext = function(value) { UnitConvWebService._staticInstance.set_defaultUserContext(value); }
UnitConvWebService.get_defaultUserContext = function() { return UnitConvWebService._staticInstance.get_defaultUserContext(); }
UnitConvWebService.set_defaultSucceededCallback = function(value) { UnitConvWebService._staticInstance.set_defaultSucceededCallback(value); }
UnitConvWebService.get_defaultSucceededCallback = function() { return UnitConvWebService._staticInstance.get_defaultSucceededCallback(); }
UnitConvWebService.set_defaultFailedCallback = function(value) { UnitConvWebService._staticInstance.set_defaultFailedCallback(value); }
UnitConvWebService.get_defaultFailedCallback = function() { return UnitConvWebService._staticInstance.get_defaultFailedCallback(); }
UnitConvWebService.set_path("/Module/UnitConv/DynamicUnitConvertor/UnitConvWebService.asmx");
UnitConvWebService.GetUnitListWithReset= function(prefixText,count,onSuccess,onFailed,userContext) {UnitConvWebService._staticInstance.GetUnitListWithReset(prefixText,count,onSuccess,onFailed,userContext); }
UnitConvWebService.GetUnitList= function(prefixText,count,onSuccess,onFailed,userContext) {UnitConvWebService._staticInstance.GetUnitList(prefixText,count,onSuccess,onFailed,userContext); }
UnitConvWebService.GetRandomExample= function(name,onSuccess,onFailed,userContext) {UnitConvWebService._staticInstance.GetRandomExample(name,onSuccess,onFailed,userContext); }
UnitConvWebService.SolveUnit= function(InputStr,format,prec,onSuccess,onFailed,userContext) {UnitConvWebService._staticInstance.SolveUnit(InputStr,format,prec,onSuccess,onFailed,userContext); }
UnitConvWebService.GetClientUnitData= function(QID,onSuccess,onFailed,userContext) {UnitConvWebService._staticInstance.GetClientUnitData(QID,onSuccess,onFailed,userContext); }
UnitConvWebService.PingSite= function(url,onSuccess,onFailed,userContext) {UnitConvWebService._staticInstance.PingSite(url,onSuccess,onFailed,userContext); }
