var ws_getdetail=function() {
ws_getdetail.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ws_getdetail.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(ws_getdetail.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetDetail:function(branchname,succeededCallback, failedCallback, userContext) {
return this._invoke(ws_getdetail.get_path(), 'GetDetail',false,{branchname:branchname},succeededCallback,failedCallback,userContext); },
GetBranchData:function(ddlstCity,ddlstProvName,txtKey,succeededCallback, failedCallback, userContext) {
return this._invoke(ws_getdetail.get_path(), 'GetBranchData',false,{ddlstCity:ddlstCity,ddlstProvName:ddlstProvName,txtKey:txtKey},succeededCallback,failedCallback,userContext); },
ChangeProv:function(ProvCode,IsCity,succeededCallback, failedCallback, userContext) {
return this._invoke(ws_getdetail.get_path(), 'ChangeProv',false,{ProvCode:ProvCode,IsCity:IsCity},succeededCallback,failedCallback,userContext); },
ChangeProvBusi:function(ProvCode,IsCity,succeededCallback, failedCallback, userContext) {
return this._invoke(ws_getdetail.get_path(), 'ChangeProvBusi',false,{ProvCode:ProvCode,IsCity:IsCity},succeededCallback,failedCallback,userContext); },
GetCorpInfo:function(CityCode,succeededCallback, failedCallback, userContext) {
return this._invoke(ws_getdetail.get_path(), 'GetCorpInfo',false,{CityCode:CityCode},succeededCallback,failedCallback,userContext); },
GetServiceCenterStr:function(CityCode,ServiceCenterList,succeededCallback, failedCallback, userContext) {
return this._invoke(ws_getdetail.get_path(), 'GetServiceCenterStr',false,{CityCode:CityCode,ServiceCenterList:ServiceCenterList},succeededCallback,failedCallback,userContext); },
GetSubSectionEmploy:function(ProvName,City,succeededCallback, failedCallback, userContext) {
return this._invoke(ws_getdetail.get_path(), 'GetSubSectionEmploy',false,{ProvName:ProvName,City:City},succeededCallback,failedCallback,userContext); }}
ws_getdetail.registerClass('ws_getdetail',Sys.Net.WebServiceProxy);
ws_getdetail._staticInstance = new ws_getdetail();
ws_getdetail.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ws_getdetail._staticInstance._path = value; }
ws_getdetail.get_path = function() { return ws_getdetail._staticInstance._path; }
ws_getdetail.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); }
ws_getdetail._staticInstance._timeout = value; }
ws_getdetail.get_timeout = function() { 
return ws_getdetail._staticInstance._timeout; }
ws_getdetail.set_defaultUserContext = function(value) { 
ws_getdetail._staticInstance._userContext = value; }
ws_getdetail.get_defaultUserContext = function() { 
return ws_getdetail._staticInstance._userContext; }
ws_getdetail.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ws_getdetail._staticInstance._succeeded = value; }
ws_getdetail.get_defaultSucceededCallback = function() { 
return ws_getdetail._staticInstance._succeeded; }
ws_getdetail.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ws_getdetail._staticInstance._failed = value; }
ws_getdetail.get_defaultFailedCallback = function() { 
return ws_getdetail._staticInstance._failed; }
ws_getdetail.set_path("/ws_getdetail.asmx");
ws_getdetail.HelloWorld= function(onSuccess,onFailed,userContext) {ws_getdetail._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
ws_getdetail.GetDetail= function(branchname,onSuccess,onFailed,userContext) {ws_getdetail._staticInstance.GetDetail(branchname,onSuccess,onFailed,userContext); }
ws_getdetail.GetBranchData= function(ddlstCity,ddlstProvName,txtKey,onSuccess,onFailed,userContext) {ws_getdetail._staticInstance.GetBranchData(ddlstCity,ddlstProvName,txtKey,onSuccess,onFailed,userContext); }
ws_getdetail.ChangeProv= function(ProvCode,IsCity,onSuccess,onFailed,userContext) {ws_getdetail._staticInstance.ChangeProv(ProvCode,IsCity,onSuccess,onFailed,userContext); }
ws_getdetail.ChangeProvBusi= function(ProvCode,IsCity,onSuccess,onFailed,userContext) {ws_getdetail._staticInstance.ChangeProvBusi(ProvCode,IsCity,onSuccess,onFailed,userContext); }
ws_getdetail.GetCorpInfo= function(CityCode,onSuccess,onFailed,userContext) {ws_getdetail._staticInstance.GetCorpInfo(CityCode,onSuccess,onFailed,userContext); }
ws_getdetail.GetServiceCenterStr= function(CityCode,ServiceCenterList,onSuccess,onFailed,userContext) {ws_getdetail._staticInstance.GetServiceCenterStr(CityCode,ServiceCenterList,onSuccess,onFailed,userContext); }
ws_getdetail.GetSubSectionEmploy= function(ProvName,City,onSuccess,onFailed,userContext) {ws_getdetail._staticInstance.GetSubSectionEmploy(ProvName,City,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Apex.Model');
if (typeof(Apex.Model.BRANCH) === 'undefined') {
Apex.Model.BRANCH=gtc("Apex.Model.BRANCH");
Apex.Model.BRANCH.registerClass('Apex.Model.BRANCH');
}
