Type.registerNamespace('M18Web.Member');
M18Web.Member.MemberService=function() {
M18Web.Member.MemberService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
M18Web.Member.MemberService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return M18Web.Member.MemberService._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
VerifyCodeCheck:function(oldGuid,verifyCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'VerifyCodeCheck',false,{oldGuid:oldGuid,verifyCode:verifyCode},succeededCallback,failedCallback,userContext); },
ValidateCheck:function(cellphone,ContactID,ValidateCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ValidateCheck',false,{cellphone:cellphone,ContactID:ContactID,ValidateCode:ValidateCode},succeededCallback,failedCallback,userContext); },
btn1Send:function(cellphone,ContactID,txtPostCode1,cmbProvince,cmbCity,txtAddress,customername,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'btn1Send',false,{cellphone:cellphone,ContactID:ContactID,txtPostCode1:txtPostCode1,cmbProvince:cmbProvince,cmbCity:cmbCity,txtAddress:txtAddress,customername:customername},succeededCallback,failedCallback,userContext); },
btn2Send:function(cellphone,ContactID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'btn2Send',false,{cellphone:cellphone,ContactID:ContactID},succeededCallback,failedCallback,userContext); },
GetVerifyCode:function(oldGuid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetVerifyCode',false,{oldGuid:oldGuid},succeededCallback,failedCallback,userContext); },
getLogin:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getLogin',false,{},succeededCallback,failedCallback,userContext); }}
M18Web.Member.MemberService.registerClass('M18Web.Member.MemberService',Sys.Net.WebServiceProxy);
M18Web.Member.MemberService._staticInstance = new M18Web.Member.MemberService();
M18Web.Member.MemberService.set_path = function(value) { M18Web.Member.MemberService._staticInstance.set_path(value); }
M18Web.Member.MemberService.get_path = function() { return M18Web.Member.MemberService._staticInstance.get_path(); }
M18Web.Member.MemberService.set_timeout = function(value) { M18Web.Member.MemberService._staticInstance.set_timeout(value); }
M18Web.Member.MemberService.get_timeout = function() { return M18Web.Member.MemberService._staticInstance.get_timeout(); }
M18Web.Member.MemberService.set_defaultUserContext = function(value) { M18Web.Member.MemberService._staticInstance.set_defaultUserContext(value); }
M18Web.Member.MemberService.get_defaultUserContext = function() { return M18Web.Member.MemberService._staticInstance.get_defaultUserContext(); }
M18Web.Member.MemberService.set_defaultSucceededCallback = function(value) { M18Web.Member.MemberService._staticInstance.set_defaultSucceededCallback(value); }
M18Web.Member.MemberService.get_defaultSucceededCallback = function() { return M18Web.Member.MemberService._staticInstance.get_defaultSucceededCallback(); }
M18Web.Member.MemberService.set_defaultFailedCallback = function(value) { M18Web.Member.MemberService._staticInstance.set_defaultFailedCallback(value); }
M18Web.Member.MemberService.get_defaultFailedCallback = function() { return M18Web.Member.MemberService._staticInstance.get_defaultFailedCallback(); }
M18Web.Member.MemberService.set_path("/Member/MemberService.asmx");
M18Web.Member.MemberService.HelloWorld= function(onSuccess,onFailed,userContext) {M18Web.Member.MemberService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
M18Web.Member.MemberService.VerifyCodeCheck= function(oldGuid,verifyCode,onSuccess,onFailed,userContext) {M18Web.Member.MemberService._staticInstance.VerifyCodeCheck(oldGuid,verifyCode,onSuccess,onFailed,userContext); }
M18Web.Member.MemberService.ValidateCheck= function(cellphone,ContactID,ValidateCode,onSuccess,onFailed,userContext) {M18Web.Member.MemberService._staticInstance.ValidateCheck(cellphone,ContactID,ValidateCode,onSuccess,onFailed,userContext); }
M18Web.Member.MemberService.btn1Send= function(cellphone,ContactID,txtPostCode1,cmbProvince,cmbCity,txtAddress,customername,onSuccess,onFailed,userContext) {M18Web.Member.MemberService._staticInstance.btn1Send(cellphone,ContactID,txtPostCode1,cmbProvince,cmbCity,txtAddress,customername,onSuccess,onFailed,userContext); }
M18Web.Member.MemberService.btn2Send= function(cellphone,ContactID,onSuccess,onFailed,userContext) {M18Web.Member.MemberService._staticInstance.btn2Send(cellphone,ContactID,onSuccess,onFailed,userContext); }
M18Web.Member.MemberService.GetVerifyCode= function(oldGuid,onSuccess,onFailed,userContext) {M18Web.Member.MemberService._staticInstance.GetVerifyCode(oldGuid,onSuccess,onFailed,userContext); }
M18Web.Member.MemberService.getLogin= function(onSuccess,onFailed,userContext) {M18Web.Member.MemberService._staticInstance.getLogin(onSuccess,onFailed,userContext); }
