Type.registerNamespace('CS');
CS.CommonService=function() {
CS.CommonService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CS.CommonService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CS.CommonService._staticInstance.get_path();},
GetSeracheItems:function(query,BizType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSeracheItems',false,{query:query,BizType:BizType},succeededCallback,failedCallback,userContext); },
GetrBusinessItems:function(query,BizType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetrBusinessItems',false,{query:query,BizType:BizType},succeededCallback,failedCallback,userContext); },
GetrBusinessUser:function(businessID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetrBusinessUser',false,{businessID:businessID},succeededCallback,failedCallback,userContext); },
GetrBusinessPlan:function(businessID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetrBusinessPlan',false,{businessID:businessID},succeededCallback,failedCallback,userContext); },
GetPlanUser:function(planCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPlanUser',false,{planCode:planCode},succeededCallback,failedCallback,userContext); },
GetPlanUserByPlanID:function(strPlanID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPlanUserByPlanID',false,{strPlanID:strPlanID},succeededCallback,failedCallback,userContext); },
GetBusinessName:function(strPlanID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBusinessName',false,{strPlanID:strPlanID},succeededCallback,failedCallback,userContext); },
GetProductByModel:function(strModel,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductByModel',false,{strModel:strModel},succeededCallback,failedCallback,userContext); },
GetProductItems:function(query,BizType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetProductItems',false,{query:query,BizType:BizType},succeededCallback,failedCallback,userContext); }}
CS.CommonService.registerClass('CS.CommonService',Sys.Net.WebServiceProxy);
CS.CommonService._staticInstance = new CS.CommonService();
CS.CommonService.set_path = function(value) { CS.CommonService._staticInstance.set_path(value); }
CS.CommonService.get_path = function() { return CS.CommonService._staticInstance.get_path(); }
CS.CommonService.set_timeout = function(value) { CS.CommonService._staticInstance.set_timeout(value); }
CS.CommonService.get_timeout = function() { return CS.CommonService._staticInstance.get_timeout(); }
CS.CommonService.set_defaultUserContext = function(value) { CS.CommonService._staticInstance.set_defaultUserContext(value); }
CS.CommonService.get_defaultUserContext = function() { return CS.CommonService._staticInstance.get_defaultUserContext(); }
CS.CommonService.set_defaultSucceededCallback = function(value) { CS.CommonService._staticInstance.set_defaultSucceededCallback(value); }
CS.CommonService.get_defaultSucceededCallback = function() { return CS.CommonService._staticInstance.get_defaultSucceededCallback(); }
CS.CommonService.set_defaultFailedCallback = function(value) { CS.CommonService._staticInstance.set_defaultFailedCallback(value); }
CS.CommonService.get_defaultFailedCallback = function() { return CS.CommonService._staticInstance.get_defaultFailedCallback(); }
CS.CommonService.set_path("/WebService/CommonService.asmx");
CS.CommonService.GetSeracheItems= function(query,BizType,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetSeracheItems(query,BizType,onSuccess,onFailed,userContext); }
CS.CommonService.GetrBusinessItems= function(query,BizType,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetrBusinessItems(query,BizType,onSuccess,onFailed,userContext); }
CS.CommonService.GetrBusinessUser= function(businessID,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetrBusinessUser(businessID,onSuccess,onFailed,userContext); }
CS.CommonService.GetrBusinessPlan= function(businessID,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetrBusinessPlan(businessID,onSuccess,onFailed,userContext); }
CS.CommonService.GetPlanUser= function(planCode,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetPlanUser(planCode,onSuccess,onFailed,userContext); }
CS.CommonService.GetPlanUserByPlanID= function(strPlanID,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetPlanUserByPlanID(strPlanID,onSuccess,onFailed,userContext); }
CS.CommonService.GetBusinessName= function(strPlanID,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetBusinessName(strPlanID,onSuccess,onFailed,userContext); }
CS.CommonService.GetProductByModel= function(strModel,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetProductByModel(strModel,onSuccess,onFailed,userContext); }
CS.CommonService.GetProductItems= function(query,BizType,onSuccess,onFailed,userContext) {CS.CommonService._staticInstance.GetProductItems(query,BizType,onSuccess,onFailed,userContext); }

