public void CurrentAlarmListRequestEvent(CurrentAlarmListRequest currentAlarmListJob, bool needReply = true) { AddLog(currentAlarmListJob.ToString()); if (!needReply) { return; } CurrentAlarmListReport report = new CurrentAlarmListReport(); report.Add(new CurrentAlarmListReport() { UNITID = "1AED06-IND", ALIDLIST = new List <string>() { "6239", "6240", "6241", "6242", }, }); report.Add(new CurrentAlarmListReport() { UNITID = "1AED06-IND1", ALIDLIST = new List <string>() { "6239", "6240", "6241", "6242", }, }); cimClient?.LaunchCurrentAlarmListReport(report); }
/// <summary> /// 对RequestAlarmList的回复 /// </summary> /// <param name="currentAlarmListReport"></param> /// <returns></returns> public bool LaunchCurrentAlarmListReport(CurrentAlarmListReport currentAlarmListReport) { var am = scenarioControllers[Scenarios.Alarm_Management] as AlarmManagement; return(am.LaunchCurrentAlarmListReport(currentAlarmListReport)); }