public CodeMasterForm() { InitializeComponent(); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); BindCombox(DefineConstantValue.MasterType.CodeMaster_Key1, null); }
public frmDataDictionary() { InitializeComponent(); this.lvDataDicDetail.Font = ControlSetting.ListFont; this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); }
public frmMaterialMaster() { InitializeComponent(); _MaterialMasterBll = new MaterialMasterBL(); codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); }
public frmProdStatusMonitoring() { InitializeComponent(); this.lvMacStatus.Font = ControlSetting.ListFont; this._ICodeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._IProStatusMontoringBL = MasterBLLFactory.GetBLL<IProStatusMontoringBL>(MasterBLLFactory.ProStatusMontoring); this._IMachineMasterBL = new MachineMasterBL(); this.m_AllCodeMaster = new List<CodeMaster_cmt_Info>(); this.m_AllMachineMaster = new List<MachineMaster_mmt_Info>(); this.m_AllStatusMonitoring = new List<ProStatusMonitoring>(); this.m_NowStatusMonitoring = new List<ProStatusMonitoring>(); this.sysToolBar.BtnRefresh_IsUsed = true; this.sysToolBar.BtnExit_IsUsed = true; this.sysToolBar.BtnRefresh_IsEnabled = true; this.sysToolBar.BtnExit_IsEnabled = true; this.sysToolBar.OnItemRefresh_Click += new WindowControls.HBPMS.SystemToolBar.ItemRefresh_Click(sysToolBar_OnItemRefresh_Click); this.btnFirst.Click += new EventHandler(btnFirst_Click); this.btnUp.Click += new EventHandler(btnUp_Click); this.btnDown.Click += new EventHandler(btnDown_Click); this.btnLast.Click += new EventHandler(btnLast_Click); this.btnGo.Click += new EventHandler(btnGo_Click); this.cbxRefreshSpan.SelectedValueChanged += new EventHandler(cbxRefreshSpan_SelectedValueChanged); this.cbxAutoRefresh.Click += new EventHandler(cbxAutoRefresh_Click); this.cbxViewType.SelectedIndexChanged += new EventHandler(cbxViewType_SelectedIndexChanged); this.m_iMaxCount = 100; this.labLvMaxCount.Text = this.m_iMaxCount.ToString(); }
public PrepareJobAppSetting() { InitializeComponent(); this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._prepareProjectMasterBL = MasterBLLFactory.GetBLL<IPrepareProjectMasterBL>(MasterBLLFactory.PrepareProjectMaster_ppm); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); }
public frmRecordCollectSet() { InitializeComponent(); _icmBL = BLL.Factory.SysMaster.MasterBLLFactory.GetBLL<ICodeMasterBL>(BLL.Factory.SysMaster.MasterBLLFactory.CodeMaster_cmt); _editState = Common.DefineConstantValue.EditStateEnum.OE_Insert; BindMealTypeCombo(); this.lblTitle.Text = "添加消费数据收集时间"; }
public frmImportStudentData() { InitializeComponent(); this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster); this._IClassMasterBL = MasterBLLFactory.GetBLL<IClassMasterBL>(MasterBLLFactory.ClassMaster); this._ICodeMasterBL = BLL.Factory.SysMaster.MasterBLLFactory.GetBLL<ICodeMasterBL>(BLL.Factory.SysMaster.MasterBLLFactory.CodeMaster_cmt); }
public frmConsumptionRecordCollect() { InitializeComponent(); _icmBL = BLL.Factory.SysMaster.MasterBLLFactory.GetBLL<ICodeMasterBL>(BLL.Factory.SysMaster.MasterBLLFactory.CodeMaster_cmt); _icsmBL = MasterBLLFactory.GetBLL<IConsumeMachineBL>(MasterBLLFactory.ConsumeMachine); ShowCollectDateList(); ShwoDeviceList(); }
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(); }
public PrepareJob() { InitializeComponent(); this.lvInfo.Font = ControlSetting.ListFont; this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._listColumnsMoasterBL = MasterBLLFactory.GetBLL<IListColumnsMasterBL>(MasterBLLFactory.ListColumnsMaster); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); this._prepareProjectMasterBL = MasterBLLFactory.GetBLL<IPrepareProjectMasterBL>(MasterBLLFactory.PrepareProjectMaster_ppm); this._lisPrinterType = new List<CodeMaster_cmt_Info>(); }
public frmRecordCollectSet(CodeMaster_cmt_Info infoObj) { InitializeComponent(); _icmBL = BLL.Factory.SysMaster.MasterBLLFactory.GetBLL<ICodeMasterBL>(BLL.Factory.SysMaster.MasterBLLFactory.CodeMaster_cmt); _editState = Common.DefineConstantValue.EditStateEnum.OE_Update; this._cmtInfo = infoObj; BindMealTypeCombo(); SetControlValue(); this.lblTitle.Text = "修改消费数据收集时间"; }
public StopReason() { InitializeComponent(); this._IStopReasonBL = MasterBLLFactory.GetBLL<IStopReasonBL>(MasterBLLFactory.StopReasonMaster); this._ICodeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._dicPrinterType = new Dictionary<int, CodeMaster_cmt_Info>(); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); }
/// <summary> /// 初始化 /// </summary> public MaintenanceInfo() { InitializeComponent(); this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._ListColumnsMoasterBL = MasterBLLFactory.GetBLL<IListColumnsMasterBL>(MasterBLLFactory.ListColumnsMaster); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster); this._lisPrinterType = new List<CodeMaster_cmt_Info>(); }
public MaintenancePlan() { InitializeComponent(); this.lvInfo.Font = ControlSetting.ListFont; this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster); this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._maintainPlanBL = MasterBLLFactory.GetBLL<IMaintainPlanBL>(MasterBLLFactory.MaintainPlan); this._lisPrinterType = new List<CodeMaster_cmt_Info>(); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); }
//(NO:0005078) 保養部件清單 Add By Leothlink TonyWu On 07/18/2014 <<< public MaintenanceInfoAppSetting() { InitializeComponent(); this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster); this._generalBL = GeneralBLLFactory.GetBLL<IGeneralBL>(GeneralBLLFactory.General); //(NO:0005078) 保養部件清單 Add By Leothlink TonyWu On 07/18/2014 >>> this._PlanEquipmentList = new List<MaintainPlanEquipmentMapping_mpe_Info>(); this._BaseEquipmentList = new List<MaintainPlanEquipmentMapping_mpe_Info>(); MaximoHelper.ServicePath = ConfigurationManager.AppSettings["MaximoServiceURL"].ToString(); //(NO:0005078) 保養部件清單 Add By Leothlink TonyWu On 07/18/2014 <<< }
public frmDataDictionaryDetail() { InitializeComponent(); this.sysToolBar.OnItemSave_Click += new WindowControls.HBPMS.SystemToolBar.ItemSave_Click(sysToolBar_OnItemSave_Click); this.sysToolBar.OnItemExit_Click += new WindowControls.HBPMS.SystemToolBar.ItemExit_Click(sysToolBar_OnItemExit_Click); this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); //HardCode 需初始化用戶信息 if (base.UserInformation == null) { base.UserInformation = new Model.SysMaster.Sys_UserMaster_usm_Info(); base.UserInformation.usm_cUserLoginID = "sys"; } }
public frmCardReplace() { InitializeComponent(); initReader(); this._IUserCardPairBL = MasterBLLFactory.GetBLL<IUserCardPairBL>(MasterBLLFactory.UserCardPair); this._IConsumeCardMasterBL = MasterBLLFactory.GetBLL<IConsumeCardMasterBL>(MasterBLLFactory.ConsumeCardMaster); this._ICardUserMasterBL = MasterBLLFactory.GetBLL<ICardUserMasterBL>(MasterBLLFactory.CardUserMaster); this._ICardUserAccountBL = MasterBLLFactory.GetBLL<ICardUserAccountBL>(MasterBLLFactory.CardUserAccount); this._ICodeMasterBL = BLL.Factory.SysMaster.MasterBLLFactory.GetBLL<ICodeMasterBL>(BLL.Factory.SysMaster.MasterBLLFactory.CodeMaster_cmt); this._IConsumeMachineBL = MasterBLLFactory.GetBLL<IConsumeMachineBL>(MasterBLLFactory.ConsumeMachine); this.m_IBlacklistChangeRecordBL = MasterBLLFactory.GetBLL<IBlacklistChangeRecordBL>(MasterBLLFactory.BlacklistChangeRecord); initCost(); //btnSelectUser_Click(null, null); }
public UserAccountFundSyncService() { try { this._ServiceName = "AFSServ"; this._IPreConsumeRecordBL = MasterBLLFactory.GetBLL<IPreConsumeRecordBL>(MasterBLLFactory.PreConsumeRecord); this._IConsumeRecordBL = MasterBLLFactory.GetBLL<IConsumeRecordBL>(MasterBLLFactory.ConsumeRecord); this._ICodeMasterBL = BLL.Factory.SysMaster.MasterBLLFactory.GetBLL<ICodeMasterBL>(BLL.Factory.SysMaster.MasterBLLFactory.CodeMaster_cmt); this._IConsumeMachineBL = MasterBLLFactory.GetBLL<IConsumeMachineBL>(MasterBLLFactory.ConsumeMachine); this._ICardUserAccountBL = MasterBLLFactory.GetBLL<ICardUserAccountBL>(MasterBLLFactory.CardUserAccount); } catch (Exception ex) { Console.WriteLine(getCWStyle(ex.Message, SystemLog.SystemLog.LogType.Error)); throw ex; } }
public frmMixMaterialDetail() { InitializeComponent(); _MixMaterialGroupBll = new MixMaterialGroupBL(); _MixMaterialDetailBll = new MixMaterialDetailBL(); _MaterialMasterBll = new MaterialMasterBL(); codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); List<IModelObject> tmp = _MaterialMasterBll.SearchRecords_SQL(new MaterialProfile_mlpf_Info()); foreach (MaterialProfile_mlpf_Info item in tmp) { if (_AllMaterial == null) _AllMaterial = new List<MaterialProfile_mlpf_Info>(); _AllMaterial.Add(item); } //HardCode 需初始化用戶信息 if (base.UserInformation == null) { base.UserInformation = new Model.SysMaster.Sys_UserMaster_usm_Info(); base.UserInformation.usm_cUserLoginID = "sys"; } }
public ShiftPauseBL() { //this.shiftPauseDA_SQLite = SQLiteDAFacotry.GetDAL<IShiftPauseDA>(SQLiteDAFacotry.ShiftPauseDA); this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); }
private void init() { this._codeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); this._maintainOperationMasterBL = this._maintainOperationMasterBL = MasterBLLFactory.GetBLL<IMaintainOperationMasterBL>(MasterBLLFactory.MaintainOperationMaster); this._maintainPlanBL = MasterBLLFactory.GetBLL<IMaintainPlanBL>(MasterBLLFactory.MaintainPlan); this.StartPosition = FormStartPosition.CenterParent; this.btnCancel.Click += new EventHandler(btnCancel_Click); this.cmbWeekNo.SelectedIndex = 0; this.cmbWeekDay.SelectedIndex = 0; }
public dlgConstantExpensesSetting() { InitializeComponent(); this._ICodeMasterBL = MasterBLLFactory.GetBLL<ICodeMasterBL>(MasterBLLFactory.CodeMaster_cmt); }
public UserAccountFundSyncService() { InitializeComponent(); try { this._LocalLogger = new Common.General(Common.General.BindLocalLogInfo()); this._DBLogger = new Common.General(Common.General.BindDbLogInfo()); this._ServiceName = ConfigurationSettings.AppSettings["ServiceName"]; if (string.IsNullOrEmpty(this._ServiceName)) { this._ServiceName = "ServAccountSync"; } this._ServiceName.PadRight(20, ' ').Substring(0, 20).Trim(); this._IPreConsumeRecordBL = MasterBLLFactory.GetBLL<IPreConsumeRecordBL>(MasterBLLFactory.PreConsumeRecord); this._IConsumeRecordBL = MasterBLLFactory.GetBLL<IConsumeRecordBL>(MasterBLLFactory.ConsumeRecord); this._ICodeMasterBL = BLL.Factory.SysMaster.MasterBLLFactory.GetBLL<ICodeMasterBL>(BLL.Factory.SysMaster.MasterBLLFactory.CodeMaster_cmt); this._IConsumeMachineBL = MasterBLLFactory.GetBLL<IConsumeMachineBL>(MasterBLLFactory.ConsumeMachine); this._ICardUserAccountBL = MasterBLLFactory.GetBLL<ICardUserAccountBL>(MasterBLLFactory.CardUserAccount); this._tmrMain = new System.Timers.Timer(); this._tmrMain.Interval = 60000; this._tmrMain.Elapsed += new System.Timers.ElapsedEventHandler(_tmrMain_Elapsed); this._LocalLogger.WriteLog("服务初始化完毕。 " + DateTime.Now.ToString(), string.Empty, SystemLog.SystemLog.LogType.Trace); } catch (Exception ex) { this._LocalLogger.WriteLog("服务初始化失败。" + ex.Message + " " + DateTime.Now.ToString(), string.Empty, SystemLog.SystemLog.LogType.Error); } }