| | |
| | | using iWareCommon.Utils; |
| | | using iWareModel; |
| | | using iWareSda.Model; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | return Station; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 获取当前正在报警的报警列表 |
| | | /// </summary> |
| | | /// <param name="deviceId"></param> |
| | | /// <returns></returns> |
| | | public List<DeviceWarningInfo> GetWaringInfoList(int deviceId, List<WmsConfigDeviceWarning> configDeviceWarningList) |
| | | { |
| | | var StationResult = Station_CacheEntity.GetDeviceObj(deviceId); |
| | | if (!StationResult.result) |
| | | { |
| | | return null; |
| | | } |
| | | var waringList = (StationResult.resData as StationEntity).GetStationAlertDatas(configDeviceWarningList); |
| | | return waringList; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// Station任务是否完成 |