Example #1
0
        private Guid _TargetID; //區域ID

        #endregion Fields

        #region Constructors

        public AdvanceOffWork()
        {
            InitializeComponent();
            this.lvInfo.Font = ControlSetting.ListFont;
            this._IAheadOfOffDutyBL = MasterBLLFactory.GetBLL<IAheadOfOffDutyBL>(MasterBLLFactory.AheadOfOffDutyMaster);
            this._areaMasterBL = MasterBLLFactory.GetBLL<IAreaMasterBL>(MasterBLLFactory.AreaMaster);
        }
Example #2
0
 public VacationManagement()
 {
     InitializeComponent();
     this.lvInfo.Font = ControlSetting.ListFont;
     this.lbArea.Font = ControlSetting.ListFont;
     this._VacationMasterBL = MasterBLLFactory.GetBLL<IVacationMasterBL>(MasterBLLFactory.VacationMaster);
     _areaMasterBL = MasterBLLFactory.GetBLL<IAreaMasterBL>(MasterBLLFactory.AreaMaster);
 }
Example #3
0
 public HOTReportSelfCheck()
 {
     InitializeComponent();
     _ProductReportBL = new ProductReportBL(Common.Util.ConfigUtil.GetAppSetting("ConnectionString"));
     this._areaMasterBL = MasterBLLFactory.GetBLL<IAreaMasterBL>(MasterBLLFactory.AreaMaster);
     this._MachineMasterBL = new MachineMasterBL();
     this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt);
     this._shiftTypeMasterBL = MasterBLLFactory.GetBLL<IShiftTypeMasterBL>(MasterBLLFactory.ShiftTypeMaster_stm);
     InitGui();
 }
Example #4
0
        public FrmAreaInfo()
        {
            InitializeComponent();

            try
            {
                this._areaMasterBL = MasterBLLFactory.GetBLL<IAreaMasterBL>(MasterBLLFactory.AreaMaster);
            }
            catch (Exception Ex)
            {

                throw Ex;
            }
        }
Example #5
0
        public AreaMaster()
        {
            InitializeComponent();
            this.lvwArea.Font = ControlSetting.ListFont;
            this.lvwMachine.Font = ControlSetting.ListFont;
            this.sysToolBar.OnItemNew_Click += AddArea;
            try
            {
                this._areaMasterBL = MasterBLLFactory.GetBLL<IAreaMasterBL>(MasterBLLFactory.AreaMaster);
            }
            catch (Exception Ex)
            {

                throw Ex;
            }
        }
Example #6
0
        public AreaMasterAddMainces()
        {
            InitializeComponent();

            objAreMaster = null;

            this._currentAreMaster = null;

            try
            {
                this._areaMasterBL = MasterBLLFactory.GetBLL<IAreaMasterBL>(MasterBLLFactory.AreaMaster);
            }
            catch (Exception Ex)
            {

                throw Ex;
            }
        }
        public FShiftTargetYieldSchedule()
        {
            InitializeComponent();
            this.lvArea.Font = ControlSetting.ListFont;
            this.lvMachines.Font = ControlSetting.ListFont;
            this.lvTargetYieldScheduleInfo.Font = ControlSetting.ListFont;
            try
            {
                this._shiftTargetYieldScheduleBL = MasterBLLFactory.GetBLL<IShiftTargetYieldScheduleBL>(MasterBLLFactory.ShiftTargetYieldSchedule);

                this._areaMasterBL = MasterBLLFactory.GetBLL<IAreaMasterBL>(MasterBLLFactory.AreaMaster);

                this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General);
            }
            catch (Exception Ex)
            {

                throw Ex;
            }

            _displayInfo = null;
        }