Commit 34ee9c65 authored by caotao's avatar caotao

集电线Ⅰ风机状态错误

parent 6fe9de63
...@@ -971,7 +971,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator { ...@@ -971,7 +971,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
map.put("windSpeed", listDatum.getValue()); map.put("windSpeed", listDatum.getValue());
map.put("power", listDatum.getValueLabel()); map.put("power", listDatum.getValueLabel());
//获取风机状态如果获取到的状态为空-则默认为正常运行状态 //获取风机状态如果获取到的状态为空-则默认为正常运行状态
String fantStatus = ObjectUtils.isEmpty(fanstatutsHashMap.get(num)) ? "通讯中断" : fanstatutsHashMap.get(num); String fantStatus = ObjectUtils.isEmpty(fanstatutsHashMap.get(listDatum.getEquipmentNumber())) ? "通讯中断" : fanstatutsHashMap.get(listDatum.getEquipmentNumber());
map.put("url", fanStatusImagePathPrefix + File.separator + "风机-" + fantStatus + ".gif"); map.put("url", fanStatusImagePathPrefix + File.separator + "风机-" + fantStatus + ".gif");
statusMaps.add(map); statusMaps.add(map);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment