Type.registerNamespace('uniRMS.WebSite.WebServices');
uniRMS.WebSite.WebServices.ShoppingService=function() {
uniRMS.WebSite.WebServices.ShoppingService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
uniRMS.WebSite.WebServices.ShoppingService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_path();},
GetEntyInfo:function(entyid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetEntyInfo',false,{entyid:entyid},succeededCallback,failedCallback,userContext); },
AddEntyShoppingCart:function(strEntyId,strGoodsId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddEntyShoppingCart',false,{strEntyId:strEntyId,strGoodsId:strGoodsId},succeededCallback,failedCallback,userContext); },
AddUserShoppingCart:function(rsid,strDocs,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddUserShoppingCart',false,{rsid:rsid,strDocs:strDocs},succeededCallback,failedCallback,userContext); },
IfUserBuyArticle:function(title,resType,resID,showType,sourceurl,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IfUserBuyArticle',false,{title:title,resType:resType,resID:resID,showType:showType,sourceurl:sourceurl},succeededCallback,failedCallback,userContext); },
AddResDownLog:function(resId,title,traffic,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddResDownLog',false,{resId:resId,title:title,traffic:traffic},succeededCallback,failedCallback,userContext); },
IsMoneyLack:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsMoneyLack',false,{},succeededCallback,failedCallback,userContext); }}
uniRMS.WebSite.WebServices.ShoppingService.registerClass('uniRMS.WebSite.WebServices.ShoppingService',Sys.Net.WebServiceProxy);
uniRMS.WebSite.WebServices.ShoppingService._staticInstance = new uniRMS.WebSite.WebServices.ShoppingService();
uniRMS.WebSite.WebServices.ShoppingService.set_path = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_path(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_path = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_path(); }
uniRMS.WebSite.WebServices.ShoppingService.set_timeout = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_timeout(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_timeout = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_timeout(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultUserContext = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultUserContext(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultUserContext = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultUserContext(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultSucceededCallback = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultSucceededCallback(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultSucceededCallback = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultSucceededCallback(); }
uniRMS.WebSite.WebServices.ShoppingService.set_defaultFailedCallback = function(value) { uniRMS.WebSite.WebServices.ShoppingService._staticInstance.set_defaultFailedCallback(value); }
uniRMS.WebSite.WebServices.ShoppingService.get_defaultFailedCallback = function() { return uniRMS.WebSite.WebServices.ShoppingService._staticInstance.get_defaultFailedCallback(); }
uniRMS.WebSite.WebServices.ShoppingService.set_path("/WebServices/ShoppingService.asmx");
uniRMS.WebSite.WebServices.ShoppingService.GetEntyInfo= function(entyid,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.GetEntyInfo(entyid,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddEntyShoppingCart= function(strEntyId,strGoodsId,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddEntyShoppingCart(strEntyId,strGoodsId,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddUserShoppingCart= function(rsid,strDocs,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddUserShoppingCart(rsid,strDocs,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.IfUserBuyArticle= function(title,resType,resID,showType,sourceurl,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.IfUserBuyArticle(title,resType,resID,showType,sourceurl,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.AddResDownLog= function(resId,title,traffic,onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.AddResDownLog(resId,title,traffic,onSuccess,onFailed,userContext); }
uniRMS.WebSite.WebServices.ShoppingService.IsMoneyLack= function(onSuccess,onFailed,userContext) {uniRMS.WebSite.WebServices.ShoppingService._staticInstance.IsMoneyLack(onSuccess,onFailed,userContext); }

