Esempio n. 1
0
        private void DBHelper_GetBLLObjectMethodEevent(Base.Base.Factory.GetBLLObjectEventArgs args)
        {
            int iSPType = args.SPType;

            if (iSPType == 0 || args.BLLFunction != null)
            {
                return;
            }

            switch (iSPType)
            {
            case 20100:
            case 20101:
            case 20102:
                args.BLLFunction = new BLLDBItemType();
                break;

            case 20200:
            case 20201:
            case 20202:
                args.BLLFunction = new BLLDBUOM();
                break;

            case 20300:
            case 20301:
            case 20302:
                args.BLLFunction = new BLLDBItemBase();
                break;

            case 13400:
            case 13401:
            case 13402:
                args.BLLFunction = new BLLDbCustomer();
                break;

            case 13500:
            case 13501:
            case 13502:
            case 13503:
                args.BLLFunction = new BLLDbCar();
                break;

            case 20400:
                args.BLLFunction = new BLLDbCarWeight();
                break;

            case 14600:
            case 14601:
            case 14602:
                args.BLLFunction = new BLLDbBank();
                break;

            case 20600:
            case 20601:
            case 20602:
                args.BLLFunction = new BLLDbSupplier();
                break;
            }
        }
Esempio n. 2
0
        private void DBHelper_GetBLLObjectMethodEevent(Base.Base.Factory.GetBLLObjectEventArgs args)
        {
            int iSPType = args.SPType;

            if (iSPType == 0 || args.BLLFunction != null)
            {
                return;
            }

            switch (iSPType)
            {
            case 14100:
            case 14101:
            case 14102:
            case 14103:
            case 14104:
            case 14105:
            case 14106:
            case 14107:
            case 14108:
            case 14109:
            case 14110:
            case 14111:
            case 14112:
            case 14113:
            case 14114:
            case 14115:
            case 14116:
                args.BLLFunction = new BLLSaleCarInOutBill();
                break;

            case 14900:
            case 14901:
            case 14902:
            case 14903:
                args.BLLFunction = new BLLSalesCarWeightLog();
                break;
            }
        }
Esempio n. 3
0
        private void DBHelper_GetBLLObjectMethodEevent(Base.Base.Factory.GetBLLObjectEventArgs args)
        {
            //600~699
            int iSPType = args.SPType;

            if (iSPType == 0 || args.BLLFunction != null)
            {
                return;
            }

            switch (iSPType)
            {
            case 13300:
            case 13301:
            case 13302:
            case 13303:
            case 13304:
            case 13305:
            case 13306:
                args.BLLFunction = new BLLRPReceiveBillHeader();
                break;
            }
        }
Esempio n. 4
0
        private void DBHelper_GetBLLObjectMethodEevent(Base.Base.Factory.GetBLLObjectEventArgs args)
        {
            //300~399
            int iSPType = args.SPType;

            if (iSPType == 0 || args.BLLFunction != null)
            {
                return;
            }

            switch (iSPType)
            {
            case 10000:
            case 10001:
            case 10002:
            case 10003:
                args.BLLFunction = new BLLDBUser();
                break;

            case 11000:
            case 11001:
            case 11002:
            case 11003:
            case 11010:
            case 11011:
            case 11012:
                args.BLLFunction = new BLLPermission();
                break;

            case 12000:
            case 12001:
            case 12002:
            case 12003:
            case 12004:
            case 12005:
            case 12006:
                args.BLLFunction = new BLLDbReportTemplate();
                break;

            case 13000:
            case 13001:
                args.BLLFunction = new BLLDbSysLog();
                break;

            case 13100:
            case 13101:
            case 13102:
                args.BLLFunction = new BLLUserPermission();
                break;

            case 13200:
            case 13201:
            case 13202:
                args.BLLFunction = new BLLDbBackUpConfig();
                break;

            case 13800:
                args.BLLFunction = new BLLDbWeightDeviceUserType();
                break;

            case 13900:
                args.BLLFunction = new BLLDbCameraConfig();
                break;

            case 14000:
            case 14001:
                args.BLLFunction = new BLLDbDescription();
                break;

            case 14200:
                args.BLLFunction = new BLLDbWeightType();
                break;

            case 14300:
            case 14301:
                args.BLLFunction = new BLLDbSysConfig();
                break;

            case 14400:
            case 14401:
            case 14402:
            case 14403:
            case 14404:
            case 14405:
            case 14406:
            case 14407:
                args.BLLFunction = new BLLDbReportView();
                break;

            case 14500:
                args.BLLFunction = new DbInfraredDeviceConfig();
                break;

            case 20000:
                args.BLLFunction = new BLLDbErrorLog();
                break;

            case 20100:
                args.BLLFunction = new BLLDbSystemConst();
                break;

            case 15000:
            case 15001:
            case 15002:
                args.BLLFunction = new BLLSysSession();
                break;
            }
        }
Esempio n. 5
0
        private void DBHelper_GetBLLObjectMethodEevent(Base.Base.Factory.GetBLLObjectEventArgs args)
        {
            //500~599
            int iSPType = args.SPType;

            if (iSPType == 0 || args.BLLFunction != null)
            {
                return;
            }

            switch (iSPType)
            {
            case 13600:
            case 13601:
            case 13602:
            case 13603:
            case 13604:
            case 13605:
            case 13606:
            case 13607:
            case 13608:
                args.BLLFunction = new BLLModifyBillHeader();
                break;

            case 13700:
            case 13701:
            case 13702:
                args.BLLFunction = new BLLModifyBillDetail();
                break;

            case 14100:
            case 14101:
            case 14102:
            case 14103:
            case 14104:
            case 14105:
            case 14106:
            case 14107:
            case 14108:
            case 14109:
            case 14110:
            case 14111:
            case 14112:
            case 14113:
            case 14114:
            case 14115:
            case 14116:
            case 14117:
            case 14118:
            case 14119:
            case 14120:
            case 14121:
            case 14122:
            case 14123:
            case 14124:
            case 14125:
                args.BLLFunction = new BLLSaleCarInOutBill();
                break;

            case 30000:
            case 30001:
            case 30002:
            case 30003:
            case 30004:
            case 30005:
                args.BLLFunction = new BLLSaleCarReturnBill();
                break;
            }
        }