private void Uctl_Map_SysExcuteQualityImageChanged(object sender, EventArgs e) { Adapter.Invoke((obj) => { pic_cmdQueueTime.Image = app.GetSysExcuteQualityQueryService().Image_Cmd_Queue_Time; pic_cmdCount.Image = app.GetSysExcuteQualityQueryService().Image_Cmd_Count; }, null); }
public void start(WindownApplication _app) { app = _app; var vhs = app.ObjCacheManager.GetVEHICLEs(); totle_vh_count = vhs.Count; progress_bar_vehicle_status.Maximum = totle_vh_count; switch (ohxc.winform.App.WindownApplication.OHxCFormMode) { case ohxc.winform.App.OHxCFormMode.CurrentPlayer: app.GetSysExcuteQualityQueryService().SysExcuteQualityImageChanged += Uctl_Map_SysExcuteQualityImageChanged; app.GetSysExcuteQualityQueryService().VehicleIdleStatusChanged += Uctl_Map_VehicleIdleStatusChanged; app.GetSysExcuteQualityQueryService().OhxCExcuteEffectivenessChanged += Uctl_Dashboard_OhxCEffectivenessChanged;; app.GetSysExcuteQualityQueryService().CurrnetMCSCommandCountChanged += Uctl_Dashboard_CurrnetMCSCommandCountChanged; break; case ohxc.winform.App.OHxCFormMode.HistoricalPlayer: //trunOffMonitorAllVhStatus(); break; } }