Type.registerNamespace('TGDD.Business');
TGDD.Business.ProductSvc=function() {
TGDD.Business.ProductSvc.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TGDD.Business.ProductSvc.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TGDD.Business.ProductSvc._staticInstance.get_path();},
SearchProduct:function(text,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchProduct',false,{text:text},succeededCallback,failedCallback,userContext); },
GetCompareInfosByName:function(productName,areaID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompareInfosByName',false,{productName:productName,areaID:areaID},succeededCallback,failedCallback,userContext); },
UpdateGift:function(intGIft,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateGift',false,{intGIft:intGIft},succeededCallback,failedCallback,userContext); },
GetCompareInfos:function(column,productID,areaID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompareInfos',false,{column:column,productID:productID,areaID:areaID},succeededCallback,failedCallback,userContext); },
GetCenterLatLng:function(CenterID,intIsCenter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCenterLatLng',false,{CenterID:CenterID,intIsCenter:intIsCenter},succeededCallback,failedCallback,userContext); },
GetDetailWarrantyCenter:function(CenterID,intIsCenter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDetailWarrantyCenter',false,{CenterID:CenterID,intIsCenter:intIsCenter},succeededCallback,failedCallback,userContext); },
GetStoreLatLng:function(StoreID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetStoreLatLng',false,{StoreID:StoreID},succeededCallback,failedCallback,userContext); },
GetDetailStroe:function(StoreID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDetailStroe',false,{StoreID:StoreID},succeededCallback,failedCallback,userContext); },
GetPriceByArea:function(AreaID,ProductID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPriceByArea',false,{AreaID:AreaID,ProductID:ProductID},succeededCallback,failedCallback,userContext); },
SearchForum:function(strKeyword,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchForum',false,{strKeyword:strKeyword},succeededCallback,failedCallback,userContext); },
SearchVAS:function(strKeyword,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SearchVAS',false,{strKeyword:strKeyword},succeededCallback,failedCallback,userContext); },
CreateWidget:function(strType,strCategory,strProductCategory,strIsShowHeader,strWidth,strHeight,strBorderColor,strRowNum,strTGDDNews,strOpenType,strTitleColor,strBackgroundColor,strTextColor,strURLColor,strSiteID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateWidget',false,{strType:strType,strCategory:strCategory,strProductCategory:strProductCategory,strIsShowHeader:strIsShowHeader,strWidth:strWidth,strHeight:strHeight,strBorderColor:strBorderColor,strRowNum:strRowNum,strTGDDNews:strTGDDNews,strOpenType:strOpenType,strTitleColor:strTitleColor,strBackgroundColor:strBackgroundColor,strTextColor:strTextColor,strURLColor:strURLColor,strSiteID:strSiteID},succeededCallback,failedCallback,userContext); },
GetUserGuideOfProduct:function(strProductID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserGuideOfProduct',false,{strProductID:strProductID},succeededCallback,failedCallback,userContext); },
InsertKeywordTrack:function(strKeywordID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertKeywordTrack',false,{strKeywordID:strKeywordID},succeededCallback,failedCallback,userContext); },
GetList15000:function(strPhone,strPID,intCurPage,intRowPerPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetList15000',false,{strPhone:strPhone,strPID:strPID,intCurPage:intCurPage,intRowPerPage:intRowPerPage},succeededCallback,failedCallback,userContext); },
SendMailSupport:function(strEmail,FullName,strQuestion,strAddr,strSubject,strMobile,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendMailSupport',false,{strEmail:strEmail,FullName:FullName,strQuestion:strQuestion,strAddr:strAddr,strSubject:strSubject,strMobile:strMobile},succeededCallback,failedCallback,userContext); }}
TGDD.Business.ProductSvc.registerClass('TGDD.Business.ProductSvc',Sys.Net.WebServiceProxy);
TGDD.Business.ProductSvc._staticInstance = new TGDD.Business.ProductSvc();
TGDD.Business.ProductSvc.set_path = function(value) { TGDD.Business.ProductSvc._staticInstance.set_path(value); }
TGDD.Business.ProductSvc.get_path = function() { return TGDD.Business.ProductSvc._staticInstance.get_path(); }
TGDD.Business.ProductSvc.set_timeout = function(value) { TGDD.Business.ProductSvc._staticInstance.set_timeout(value); }
TGDD.Business.ProductSvc.get_timeout = function() { return TGDD.Business.ProductSvc._staticInstance.get_timeout(); }
TGDD.Business.ProductSvc.set_defaultUserContext = function(value) { TGDD.Business.ProductSvc._staticInstance.set_defaultUserContext(value); }
TGDD.Business.ProductSvc.get_defaultUserContext = function() { return TGDD.Business.ProductSvc._staticInstance.get_defaultUserContext(); }
TGDD.Business.ProductSvc.set_defaultSucceededCallback = function(value) { TGDD.Business.ProductSvc._staticInstance.set_defaultSucceededCallback(value); }
TGDD.Business.ProductSvc.get_defaultSucceededCallback = function() { return TGDD.Business.ProductSvc._staticInstance.get_defaultSucceededCallback(); }
TGDD.Business.ProductSvc.set_defaultFailedCallback = function(value) { TGDD.Business.ProductSvc._staticInstance.set_defaultFailedCallback(value); }
TGDD.Business.ProductSvc.get_defaultFailedCallback = function() { return TGDD.Business.ProductSvc._staticInstance.get_defaultFailedCallback(); }
TGDD.Business.ProductSvc.set_enableJsonp = function(value) { TGDD.Business.ProductSvc._staticInstance.set_enableJsonp(value); }
TGDD.Business.ProductSvc.get_enableJsonp = function() { return TGDD.Business.ProductSvc._staticInstance.get_enableJsonp(); }
TGDD.Business.ProductSvc.set_jsonpCallbackParameter = function(value) { TGDD.Business.ProductSvc._staticInstance.set_jsonpCallbackParameter(value); }
TGDD.Business.ProductSvc.get_jsonpCallbackParameter = function() { return TGDD.Business.ProductSvc._staticInstance.get_jsonpCallbackParameter(); }
TGDD.Business.ProductSvc.set_path("/Product/ProductSvc.asmx");
TGDD.Business.ProductSvc.SearchProduct= function(text,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.SearchProduct(text,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetCompareInfosByName= function(productName,areaID,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetCompareInfosByName(productName,areaID,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.UpdateGift= function(intGIft,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.UpdateGift(intGIft,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetCompareInfos= function(column,productID,areaID,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetCompareInfos(column,productID,areaID,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetCenterLatLng= function(CenterID,intIsCenter,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetCenterLatLng(CenterID,intIsCenter,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetDetailWarrantyCenter= function(CenterID,intIsCenter,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetDetailWarrantyCenter(CenterID,intIsCenter,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetStoreLatLng= function(StoreID,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetStoreLatLng(StoreID,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetDetailStroe= function(StoreID,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetDetailStroe(StoreID,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetPriceByArea= function(AreaID,ProductID,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetPriceByArea(AreaID,ProductID,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.SearchForum= function(strKeyword,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.SearchForum(strKeyword,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.SearchVAS= function(strKeyword,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.SearchVAS(strKeyword,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.CreateWidget= function(strType,strCategory,strProductCategory,strIsShowHeader,strWidth,strHeight,strBorderColor,strRowNum,strTGDDNews,strOpenType,strTitleColor,strBackgroundColor,strTextColor,strURLColor,strSiteID,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.CreateWidget(strType,strCategory,strProductCategory,strIsShowHeader,strWidth,strHeight,strBorderColor,strRowNum,strTGDDNews,strOpenType,strTitleColor,strBackgroundColor,strTextColor,strURLColor,strSiteID,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetUserGuideOfProduct= function(strProductID,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetUserGuideOfProduct(strProductID,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.InsertKeywordTrack= function(strKeywordID,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.InsertKeywordTrack(strKeywordID,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.GetList15000= function(strPhone,strPID,intCurPage,intRowPerPage,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.GetList15000(strPhone,strPID,intCurPage,intRowPerPage,onSuccess,onFailed,userContext); }
TGDD.Business.ProductSvc.SendMailSupport= function(strEmail,FullName,strQuestion,strAddr,strSubject,strMobile,onSuccess,onFailed,userContext) {TGDD.Business.ProductSvc._staticInstance.SendMailSupport(strEmail,FullName,strQuestion,strAddr,strSubject,strMobile,onSuccess,onFailed,userContext); }

