暂态事件显示优化
This commit is contained in:
@@ -295,7 +295,9 @@ public class CsEventUserPOServiceImpl extends ServiceImpl<CsEventUserPOMapper, C
|
|||||||
eventDataSetDTO.setValue(Optional.ofNullable(evtData.getValue()).orElse("-"));
|
eventDataSetDTO.setValue(Optional.ofNullable(evtData.getValue()).orElse("-"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if (Objects.equals(eventDataSetDTO.getName(),"Evt_Param_Position")) {
|
||||||
|
eventDataSetDTO.setValue(Objects.equals(temp.getLocation(),"grid")?"电网侧":"负载侧");
|
||||||
|
}
|
||||||
eventDataSetDTOS.add(eventDataSetDTO);
|
eventDataSetDTOS.add(eventDataSetDTO);
|
||||||
}
|
}
|
||||||
temp.setDataSet(eventDataSetDTOS);
|
temp.setDataSet(eventDataSetDTOS);
|
||||||
|
|||||||
Reference in New Issue
Block a user