コード例 #1
0
ファイル: MachineAreaMaster.cs プロジェクト: Klutzdon/PBIMSN
        public MachineAreaMaster()
        {
            InitializeComponent();

            this.lvInfo.Font = ControlSetting.ListFont;

            this._AreaMasterBL = new AreaMasterBL();
        }
コード例 #2
0
ファイル: AreaComboBoxItem.cs プロジェクト: Klutzdon/PBIMSN
 public override void GetConvertHash()
 {
     AreaMasterBL _areaMasterBL =new BLL.Impl.HBPMS.Master.AreaMasterBL();
     var areas = _areaMasterBL.SearchRecords(new AreaMaster_amr_Info());
     foreach (AreaMaster_amr_Info item in areas)
     {
         _hash.Add(item.amr_cRecordID.ToString(), item.amr_cAreaName);
     }
 }
コード例 #3
0
ファイル: DinnerSchedule.cs プロジェクト: Klutzdon/PBIMSN
        public DinnerSchedule()
        {
            InitializeComponent();
            mLog = Common.General.PPCLogger;
            this.lvInfo.Font = ControlSetting.ListFont;
            mDinnerScheduleMasterBL = new DinnerBL();

            mShiftTypeMasterBL = MasterBLLFactory.GetBLL<IShiftTypeMasterBL>(MasterBLLFactory.ShiftTypeMaster_stm);
            mAreaMasterBL = new AreaMasterBL();
        }
コード例 #4
0
        private string _StaffNo; //工號

        #endregion Fields

        #region Constructors

        public MachineAreaAppSetting()
        {
            InitializeComponent();

            this._AreaMasterBL = new AreaMasterBL();

            //this._MachineMasterBL = MasterBLLFactory.GetBLL<IMachineMasterBL>(MasterBLLFactory.MachineMaster_mmt);
            //this._StaffInfoMasterBL = MasterBLLFactory.GetBLL<IStaffInfoMasterBL>(MasterBLLFactory.StaffInfoMaster_sim);
            //this._isChanged = false;

            //todo: 需初始化用戶信息
            if (base.UserInformation == null)
            {
                base.UserInformation = new Model.SysMaster.Sys_UserMaster_usm_Info();
                base.UserInformation.usm_cUserLoginID = "sys";
            }
        }
コード例 #5
0
        public override void GetConvertHash()
        {
            AreaMasterBL areaMasterBL;

            try
            {
                areaMasterBL = new AreaMasterBL();
                var returnSource = areaMasterBL.SearchRecords(new AreaMaster_amr_Info());

                if (returnSource != null && returnSource.Count > 0)
                {
                    foreach (AreaMaster_amr_Info item in returnSource)
                    {
                        _hash.Add(item.amr_cRecordID.ToString(), item.amr_cAreaName);
                    }
                }
            }
            catch (Exception Ex)
            {
                MessageBox.Show(Ex.Message);

            }
        }