Commit a85fdf0f authored by caotao's avatar caotao

修改光伏集电线状态显示错误问题

parent 89bd0685
...@@ -911,7 +911,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator { ...@@ -911,7 +911,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
} }
List<IndicatorsDto> indicatorsDtos = collect.get(s); List<IndicatorsDto> indicatorsDtos = collect.get(s);
for (IndicatorsDto indicatorsDto : indicatorsDtos) { for (IndicatorsDto indicatorsDto : indicatorsDtos) {
if (indicatorsDto.getDisplayName().contains("合位")) { if (indicatorsDto.getDisplayName().contains("断路器_合位")) {
statusMap.put("type", indicatorsDto.getValue()); statusMap.put("type", indicatorsDto.getValue());
statusMap.put("status", indicatorsDto.getValue().equals("false") ? "0" : "1"); statusMap.put("status", indicatorsDto.getValue().equals("false") ? "0" : "1");
statusMap.put("position", indicatorsDto.getDisplayName().split("_")[0] + "开关位置"); statusMap.put("position", indicatorsDto.getDisplayName().split("_")[0] + "开关位置");
......
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