var BrandShopData=function() {
BrandShopData.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BrandShopData.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BrandShopData._staticInstance.get_path();},
GetBrandData:function(brandname,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBrandData',false,{brandname:brandname},succeededCallback,failedCallback,userContext); },
GetShopData:function(shopname,locname,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetShopData',false,{shopname:shopname,locname:locname},succeededCallback,failedCallback,userContext); }}
BrandShopData.registerClass('BrandShopData',Sys.Net.WebServiceProxy);
BrandShopData._staticInstance = new BrandShopData();
BrandShopData.set_path = function(value) { BrandShopData._staticInstance.set_path(value); }
BrandShopData.get_path = function() { return BrandShopData._staticInstance.get_path(); }
BrandShopData.set_timeout = function(value) { BrandShopData._staticInstance.set_timeout(value); }
BrandShopData.get_timeout = function() { return BrandShopData._staticInstance.get_timeout(); }
BrandShopData.set_defaultUserContext = function(value) { BrandShopData._staticInstance.set_defaultUserContext(value); }
BrandShopData.get_defaultUserContext = function() { return BrandShopData._staticInstance.get_defaultUserContext(); }
BrandShopData.set_defaultSucceededCallback = function(value) { BrandShopData._staticInstance.set_defaultSucceededCallback(value); }
BrandShopData.get_defaultSucceededCallback = function() { return BrandShopData._staticInstance.get_defaultSucceededCallback(); }
BrandShopData.set_defaultFailedCallback = function(value) { BrandShopData._staticInstance.set_defaultFailedCallback(value); }
BrandShopData.get_defaultFailedCallback = function() { return BrandShopData._staticInstance.get_defaultFailedCallback(); }
BrandShopData.set_path("/BrandShopData.svc");
BrandShopData.GetBrandData= function(brandname,onSuccess,onFailed,userContext) {BrandShopData._staticInstance.GetBrandData(brandname,onSuccess,onFailed,userContext); }
BrandShopData.GetShopData= function(shopname,locname,onSuccess,onFailed,userContext) {BrandShopData._staticInstance.GetShopData(shopname,locname,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(BrandData) === 'undefined') {
var BrandData=gtc("BrandData:http://schemas.datacontract.org/2004/07/");
BrandData.registerClass('BrandData');
}
if (typeof(ShopData) === 'undefined') {
var ShopData=gtc("ShopData:http://schemas.datacontract.org/2004/07/");
ShopData.registerClass('ShopData');
}
