private void Data_Receviced(object Sender, DataBaseFinishedEventArgs e) { List<NMSReportCommand> nmsReportCommandList = ((NMSDataWrapper)e.Result).NMSReportCommandList; if (nmsReportCommandList.Count > 0) { this.alertNMSReportCommandList = new List<NMSReportCommand>(); foreach (NMSReportCommand nmsReportCommand in nmsReportCommandList) { if (nmsReportCommand.HaveAlert()) { this.alertNMSReportCommandList.Add(nmsReportCommand); } } this.SetAlertGrid(); } else { MessageBox.Show("해당 디바이스의 로그가 존재하지 않습니다"); } }
private void DeviceBatch_Finished(object Sender, DataBaseFinishedEventArgs e) { bool result = e.Succeed; if (result == false) { MessageBox.Show(String.Format("ERROR::{0}", e.Message)); return; } this.deviceFileName = ""; this.deviceFileBox.Text = ""; this.deviceBatchfileStatus = 0; this.setDeviceBatchBtnText(); MessageBox.Show("디바이스 일괄 배치 생성 작업이 끝났습니다"); if (!ServiceManager.Instance().ControlService(ServiceManager.CONTROL_SERVICE_RELOAD_DEVICE)) { MessageBox.Show(ServiceManager.Instance().Message); } ApplicationCache.Instance().LoadDevices(); }