Type.registerNamespace('Cnetweb.CAjax');
Cnetweb.CAjax.AjaxWebService=function() {
Cnetweb.CAjax.AjaxWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Cnetweb.CAjax.AjaxWebService.prototype={
GetRandom:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetRandom',false,{},succeededCallback,failedCallback,userContext); },
GetRangeRandom:function(minValue,maxValue,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetRangeRandom',false,{minValue:minValue,maxValue:maxValue},succeededCallback,failedCallback,userContext); },
GetCityByProvince:function(PID,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetCityByProvince',false,{PID:PID},succeededCallback,failedCallback,userContext); },
GetParkByCity:function(CID,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetParkByCity',false,{CID:CID},succeededCallback,failedCallback,userContext); },
GetCustomersByCountry:function(code,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetCustomersByCountry',false,{code:code},succeededCallback,failedCallback,userContext); },
CheckUserName:function(UserName,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'CheckUserName',false,{UserName:UserName},succeededCallback,failedCallback,userContext); },
GetState:function(cph,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetState',false,{cph:cph},succeededCallback,failedCallback,userContext); },
GetLDriver:function(cph,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetLDriver',false,{cph:cph},succeededCallback,failedCallback,userContext); },
CheckUserEmail:function(Email,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'CheckUserEmail',false,{Email:Email},succeededCallback,failedCallback,userContext); },
IsLogin:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'IsLogin',false,{},succeededCallback,failedCallback,userContext); },
CollLine:function(LID,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'CollLine',false,{LID:LID},succeededCallback,failedCallback,userContext); },
CollFreight:function(FID,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'CollFreight',false,{FID:FID},succeededCallback,failedCallback,userContext); },
CollGive:function(GID,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'CollGive',false,{GID:GID},succeededCallback,failedCallback,userContext); },
CollUser:function(UserID,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'CollUser',false,{UserID:UserID},succeededCallback,failedCallback,userContext); },
GetCS:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetCS',false,{},succeededCallback,failedCallback,userContext); },
GetBindCatList:function(classId,succeededCallback, failedCallback, userContext) {
return this._invoke(Cnetweb.CAjax.AjaxWebService.get_path(), 'GetBindCatList',false,{classId:classId},succeededCallback,failedCallback,userContext); }}
Cnetweb.CAjax.AjaxWebService.registerClass('Cnetweb.CAjax.AjaxWebService',Sys.Net.WebServiceProxy);
Cnetweb.CAjax.AjaxWebService._staticInstance = new Cnetweb.CAjax.AjaxWebService();
Cnetweb.CAjax.AjaxWebService.set_path = function(value) { Cnetweb.CAjax.AjaxWebService._staticInstance._path = value; }
Cnetweb.CAjax.AjaxWebService.get_path = function() { return Cnetweb.CAjax.AjaxWebService._staticInstance._path; }
Cnetweb.CAjax.AjaxWebService.set_timeout = function(value) { Cnetweb.CAjax.AjaxWebService._staticInstance._timeout = value; }
Cnetweb.CAjax.AjaxWebService.get_timeout = function() { return Cnetweb.CAjax.AjaxWebService._staticInstance._timeout; }
Cnetweb.CAjax.AjaxWebService.set_defaultUserContext = function(value) { Cnetweb.CAjax.AjaxWebService._staticInstance._userContext = value; }
Cnetweb.CAjax.AjaxWebService.get_defaultUserContext = function() { return Cnetweb.CAjax.AjaxWebService._staticInstance._userContext; }
Cnetweb.CAjax.AjaxWebService.set_defaultSucceededCallback = function(value) { Cnetweb.CAjax.AjaxWebService._staticInstance._succeeded = value; }
Cnetweb.CAjax.AjaxWebService.get_defaultSucceededCallback = function() { return Cnetweb.CAjax.AjaxWebService._staticInstance._succeeded; }
Cnetweb.CAjax.AjaxWebService.set_defaultFailedCallback = function(value) { Cnetweb.CAjax.AjaxWebService._staticInstance._failed = value; }
Cnetweb.CAjax.AjaxWebService.get_defaultFailedCallback = function() { return Cnetweb.CAjax.AjaxWebService._staticInstance._failed; }
Cnetweb.CAjax.AjaxWebService.set_path("/CAjax/AjaxWebService.asmx");
Cnetweb.CAjax.AjaxWebService.GetRandom= function(onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetRandom(onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.GetRangeRandom= function(minValue,maxValue,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetRangeRandom(minValue,maxValue,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.GetCityByProvince= function(PID,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetCityByProvince(PID,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.GetParkByCity= function(CID,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetParkByCity(CID,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.GetCustomersByCountry= function(code,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetCustomersByCountry(code,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.CheckUserName= function(UserName,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.CheckUserName(UserName,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.GetState= function(cph,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetState(cph,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.GetLDriver= function(cph,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetLDriver(cph,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.CheckUserEmail= function(Email,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.CheckUserEmail(Email,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.IsLogin= function(onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.IsLogin(onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.CollLine= function(LID,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.CollLine(LID,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.CollFreight= function(FID,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.CollFreight(FID,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.CollGive= function(GID,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.CollGive(GID,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.CollUser= function(UserID,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.CollUser(UserID,onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.GetCS= function(onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetCS(onSuccess,onFailed,userContext); }
Cnetweb.CAjax.AjaxWebService.GetBindCatList= function(classId,onSuccess,onFailed,userContext) {Cnetweb.CAjax.AjaxWebService._staticInstance.GetBindCatList(classId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('TKS.Model');
if (typeof(TKS.Model.Car) === 'undefined') {
TKS.Model.Car=gtc("TKS.Model.Car");
TKS.Model.Car.registerClass('TKS.Model.Car');
}

