Exemple #1
0
 private bool HistoryDataHandler()
 {
     try
     {
         //关闭未关闭的报警处理记录
         BasicResponse response = alarmHandleService.CloseUnclosedAlarmHandle(new BasicRequest());
         return(response.IsSuccess);
     }
     catch (Exception ex)
     {
         Basic.Framework.Logging.LogHelper.Error(string.Format("关闭未关闭的报警处理记录出错, 错误消息:{0}", ex.StackTrace));
         return(false);
     }
 }
 public BasicResponse CloseUnclosedAlarmHandle(BasicRequest request)
 {
     return(alarmHandleService.CloseUnclosedAlarmHandle(request));
 }