Example #1
0
        public static BasePhysicalExaminChargeProcess GetConcreteProcessor(User currentUser, Department currentDept, RelationalDatabase database)
        {
            SystemCfg cfg1149 = new SystemCfg(1149, database);
            BasePhysicalExaminChargeProcess process = null;

            switch (cfg1149.Config)
            {
            case "1":
                process = new Implement.BeiJingZhongKePES();
                break;

            default:
                throw new Exception("未知的体检系统,请检查参数1149是否设置正确");
            }
            process.Database    = database;
            process.CurrentUser = currentUser;
            process.CurrentDept = currentDept;

            return(process);
        }
 public FrmPhysicalExaminePatientList(BasePhysicalExaminChargeProcess Process)
 {
     InitializeComponent();
     process = Process;
 }
Example #3
0
 /// <summary>
 /// 显示配置界面
 /// </summary>
 /// <param name="process"></param>
 public abstract void ShowConfigUI(BasePhysicalExaminChargeProcess process);
Example #4
0
 public FrmDBConfig(BasePhysicalExaminChargeProcess process)
 {
     InitializeComponent();
     _process = process;
 }