var RegistService=function() {
RegistService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RegistService.prototype={
GetLogname:function(logname,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistService.get_path(), 'GetLogname',false,{logname:logname},succeededCallback,failedCallback,userContext); },
GetLognames:function(logname,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistService.get_path(), 'GetLognames',false,{logname:logname},succeededCallback,failedCallback,userContext); },
GetEmail:function(email,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistService.get_path(), 'GetEmail',false,{email:email},succeededCallback,failedCallback,userContext); },
GetIsPasswordSure:function(logname,password,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistService.get_path(), 'GetIsPasswordSure',false,{logname:logname,password:password},succeededCallback,failedCallback,userContext); },
UpdateUserinfo:function(name,mob,phone,companyname,companyaddress,companytype,InsureCost,succeededCallback, failedCallback, userContext) {
return this._invoke(RegistService.get_path(), 'UpdateUserinfo',false,{name:name,mob:mob,phone:phone,companyname:companyname,companyaddress:companyaddress,companytype:companytype,InsureCost:InsureCost},succeededCallback,failedCallback,userContext); }}
RegistService.registerClass('RegistService',Sys.Net.WebServiceProxy);
RegistService._staticInstance = new RegistService();
RegistService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; RegistService._staticInstance._path = value; }
RegistService.get_path = function() { return RegistService._staticInstance._path; }
RegistService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
RegistService._staticInstance._timeout = value; }
RegistService.get_timeout = function() { 
return RegistService._staticInstance._timeout; }
RegistService.set_defaultUserContext = function(value) { 
RegistService._staticInstance._userContext = value; }
RegistService.get_defaultUserContext = function() { 
return RegistService._staticInstance._userContext; }
RegistService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; RegistService._staticInstance._succeeded = value; }
RegistService.get_defaultSucceededCallback = function() { 
return RegistService._staticInstance._succeeded; }
RegistService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; RegistService._staticInstance._failed = value; }
RegistService.get_defaultFailedCallback = function() { 
return RegistService._staticInstance._failed; }
RegistService.set_path("/Service/RegistService.asmx");
RegistService.GetLogname= function(logname,onSuccess,onFailed,userContext) {RegistService._staticInstance.GetLogname(logname,onSuccess,onFailed,userContext); }
RegistService.GetLognames= function(logname,onSuccess,onFailed,userContext) {RegistService._staticInstance.GetLognames(logname,onSuccess,onFailed,userContext); }
RegistService.GetEmail= function(email,onSuccess,onFailed,userContext) {RegistService._staticInstance.GetEmail(email,onSuccess,onFailed,userContext); }
RegistService.GetIsPasswordSure= function(logname,password,onSuccess,onFailed,userContext) {RegistService._staticInstance.GetIsPasswordSure(logname,password,onSuccess,onFailed,userContext); }
RegistService.UpdateUserinfo= function(name,mob,phone,companyname,companyaddress,companytype,InsureCost,onSuccess,onFailed,userContext) {RegistService._staticInstance.UpdateUserinfo(name,mob,phone,companyname,companyaddress,companytype,InsureCost,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('BYT.Entities');
if (typeof(BYT.Entities.Customer) === 'undefined') {
BYT.Entities.Customer=gtc("BYT.Entities.Customer");
BYT.Entities.Customer.registerClass('BYT.Entities.Customer');
}
