Type.registerNamespace('WY.ProductSale.Service');
WY.ProductSale.Service.PrescriptionTService=function() {
WY.ProductSale.Service.PrescriptionTService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WY.ProductSale.Service.PrescriptionTService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WY.ProductSale.Service.PrescriptionTService._staticInstance.get_path();},
GetList:function(pageIndex,pageSize,sortExpression,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetList',false,{pageIndex:pageIndex,pageSize:pageSize,sortExpression:sortExpression},succeededCallback,failedCallback,userContext); },
GetCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCount',false,{},succeededCallback,failedCallback,userContext); },
Delete:function(prescriptionid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Delete',false,{prescriptionid:prescriptionid},succeededCallback,failedCallback,userContext); },
AddPagageToShopCar:function(ActivID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddPagageToShopCar',false,{ActivID:ActivID},succeededCallback,failedCallback,userContext); },
GetPagageCarList:function(ActivID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPagageCarList',false,{ActivID:ActivID},succeededCallback,failedCallback,userContext); },
AddToShoppingCart:function(userPrescriptionTENList,saveName,productID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToShoppingCart',false,{userPrescriptionTENList:userPrescriptionTENList,saveName:saveName,productID:productID},succeededCallback,failedCallback,userContext); },
AddToGiftPage:function(userPrescriptionTENList,saveName,productID,ActivID,PrescriptionPrice,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddToGiftPage',false,{userPrescriptionTENList:userPrescriptionTENList,saveName:saveName,productID:productID,ActivID:ActivID,PrescriptionPrice:PrescriptionPrice},succeededCallback,failedCallback,userContext); },
FationAddToGiftPage:function(productID,ActivID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FationAddToGiftPage',false,{productID:productID,ActivID:ActivID},succeededCallback,failedCallback,userContext); },
GetPagageCarDetail:function(productID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPagageCarDetail',false,{productID:productID},succeededCallback,failedCallback,userContext); },
MoveCarDetail:function(productID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'MoveCarDetail',false,{productID:productID},succeededCallback,failedCallback,userContext); },
SavePrescription:function(userPrescriptionTENList,saveName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SavePrescription',false,{userPrescriptionTENList:userPrescriptionTENList,saveName:saveName},succeededCallback,failedCallback,userContext); },
ApplyPrescription:function(userPrescriptionNameID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ApplyPrescription',false,{userPrescriptionNameID:userPrescriptionNameID},succeededCallback,failedCallback,userContext); },
getProcutStoce:function(productID,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getProcutStoce',false,{productID:productID},succeededCallback,failedCallback,userContext); }}
WY.ProductSale.Service.PrescriptionTService.registerClass('WY.ProductSale.Service.PrescriptionTService',Sys.Net.WebServiceProxy);
WY.ProductSale.Service.PrescriptionTService._staticInstance = new WY.ProductSale.Service.PrescriptionTService();
WY.ProductSale.Service.PrescriptionTService.set_path = function(value) { WY.ProductSale.Service.PrescriptionTService._staticInstance.set_path(value); }
WY.ProductSale.Service.PrescriptionTService.get_path = function() { return WY.ProductSale.Service.PrescriptionTService._staticInstance.get_path(); }
WY.ProductSale.Service.PrescriptionTService.set_timeout = function(value) { WY.ProductSale.Service.PrescriptionTService._staticInstance.set_timeout(value); }
WY.ProductSale.Service.PrescriptionTService.get_timeout = function() { return WY.ProductSale.Service.PrescriptionTService._staticInstance.get_timeout(); }
WY.ProductSale.Service.PrescriptionTService.set_defaultUserContext = function(value) { WY.ProductSale.Service.PrescriptionTService._staticInstance.set_defaultUserContext(value); }
WY.ProductSale.Service.PrescriptionTService.get_defaultUserContext = function() { return WY.ProductSale.Service.PrescriptionTService._staticInstance.get_defaultUserContext(); }
WY.ProductSale.Service.PrescriptionTService.set_defaultSucceededCallback = function(value) { WY.ProductSale.Service.PrescriptionTService._staticInstance.set_defaultSucceededCallback(value); }
WY.ProductSale.Service.PrescriptionTService.get_defaultSucceededCallback = function() { return WY.ProductSale.Service.PrescriptionTService._staticInstance.get_defaultSucceededCallback(); }
WY.ProductSale.Service.PrescriptionTService.set_defaultFailedCallback = function(value) { WY.ProductSale.Service.PrescriptionTService._staticInstance.set_defaultFailedCallback(value); }
WY.ProductSale.Service.PrescriptionTService.get_defaultFailedCallback = function() { return WY.ProductSale.Service.PrescriptionTService._staticInstance.get_defaultFailedCallback(); }
WY.ProductSale.Service.PrescriptionTService.set_path("/App_Service/PrescriptionTService.asmx");
WY.ProductSale.Service.PrescriptionTService.GetList= function(pageIndex,pageSize,sortExpression,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.GetList(pageIndex,pageSize,sortExpression,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.GetCount= function(onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.GetCount(onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.Delete= function(prescriptionid,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.Delete(prescriptionid,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.AddPagageToShopCar= function(ActivID,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.AddPagageToShopCar(ActivID,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.GetPagageCarList= function(ActivID,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.GetPagageCarList(ActivID,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.AddToShoppingCart= function(userPrescriptionTENList,saveName,productID,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.AddToShoppingCart(userPrescriptionTENList,saveName,productID,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.AddToGiftPage= function(userPrescriptionTENList,saveName,productID,ActivID,PrescriptionPrice,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.AddToGiftPage(userPrescriptionTENList,saveName,productID,ActivID,PrescriptionPrice,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.FationAddToGiftPage= function(productID,ActivID,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.FationAddToGiftPage(productID,ActivID,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.GetPagageCarDetail= function(productID,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.GetPagageCarDetail(productID,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.MoveCarDetail= function(productID,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.MoveCarDetail(productID,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.SavePrescription= function(userPrescriptionTENList,saveName,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.SavePrescription(userPrescriptionTENList,saveName,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.ApplyPrescription= function(userPrescriptionNameID,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.ApplyPrescription(userPrescriptionNameID,onSuccess,onFailed,userContext); }
WY.ProductSale.Service.PrescriptionTService.getProcutStoce= function(productID,onSuccess,onFailed,userContext) {WY.ProductSale.Service.PrescriptionTService._staticInstance.getProcutStoce(productID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('WY.ProductSale.Entity');
if (typeof(WY.ProductSale.Entity.PrescriptionTEN) === 'undefined') {
WY.ProductSale.Entity.PrescriptionTEN=gtc("WY.ProductSale.Entity.PrescriptionTEN");
WY.ProductSale.Entity.PrescriptionTEN.registerClass('WY.ProductSale.Entity.PrescriptionTEN');
}
if (typeof(WY.ProductSale.Entity.UserPrescriptionTEN) === 'undefined') {
WY.ProductSale.Entity.UserPrescriptionTEN=gtc("WY.ProductSale.Entity.UserPrescriptionTEN");
WY.ProductSale.Entity.UserPrescriptionTEN.registerClass('WY.ProductSale.Entity.UserPrescriptionTEN');
}
if (typeof(WY.ProductSale.Entity.PageteCarDetailTEN) === 'undefined') {
WY.ProductSale.Entity.PageteCarDetailTEN=gtc("WY.ProductSale.Entity.PageteCarDetailTEN");
WY.ProductSale.Entity.PageteCarDetailTEN.registerClass('WY.ProductSale.Entity.PageteCarDetailTEN');
}

