using BWP.B3ButcherManage; using BWP.B3QingDaoWanFu.Tasks; using BWP.Web.Pages.B3ButcherManage.Bills.StatPay_; using BWP.Web.Pages.B3QingDaoWanFu.Overlays; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using BWP.B3Sale; using BWP.Web.Pages.B3Sale.Bills.SaleOutStore_; using TSingSoft.WebPluginFramework; using TSingSoft.WebPluginFramework.Pages; using TSingSoft.WebPluginFramework.TimerTasks; using BWP.Web.Pages.B3ButcherManage.Bills.WeighBill_; using BWP.B3ProduceUnitedInfos; namespace BWP.B3QingDaoWanFu { public class PluginClass : IPluginClass { public void OnInit() { WpfPageFactory.RegisterPageOverlay(typeof(StatPayEdit).FullName, typeof(StatPayEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(StatPayAnalyse).FullName, typeof(StatPayAnalyse_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(SaleOutStoreEdit).FullName, typeof(SaleOutStoreEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(StatPayList).FullName, typeof(StatPayList_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(BWP.Web.Pages.B3ButcherManage.Bills.Pay_.PayEdit).FullName, typeof(PayEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(BWP.Web.Pages.B3ButcherManage.Bills.Pay_.PayList).FullName, typeof(PayList_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(WeighBillEdit).FullName, typeof(WeightBillEdit_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(WeighBillList).FullName, typeof(WeighBillList_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(BWP.Web.Pages.B3ButcherManage.Bills.Pay_.SelectStatPayDialog).FullName, typeof(SelectStatPayDialog_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(BWP.Web.Pages.B3Sale.Bills.SaleOutStore_.SaleOutStoreList).FullName, typeof(SaleOutStoreList_Ext).FullName); WpfPageFactory.RegisterPageOverlay(typeof(BWP.Web.Pages.B3Sale.Bills.Order_.OrderEdit).FullName, typeof(OrderEdit_Ext).FullName); GlobalFlags.On(B3ButcherManageConsts.GlobalFlags.StatPayAddRewardWithButcherUseWeight); GlobalFlags.On(B3SaleConsts.Flags.MarketingActivityEnableAdjustPrice); GlobalFlags.On(B3SaleConsts.Flags.SendOutStoreNoAvailableStorage); GlobalFlags.On(B3SaleConsts.Flags.CustAcceptAnalyseHasFactoryPrice); GlobalFlags.On(B3ButcherManageConsts.GlobalFlags.预付款单不关联过磅单); GlobalFlags.On(B3SaleConsts.Flags.EnableABCPay); GlobalFlags.On(B3ProduceUnitedInfosConsts.GlobalFlags.Car_UseDriver); GlobalFlags.On(B3SaleConsts.Flags.SaleOutStoreEnableScan); TimerConfig.Register(() => "* * * * *", new QueryTrustPayTask()); TimerConfig.Register(() => "*/5 * * * *", new QueryNoGatheringTrustPayTask()); } } }