暂态事件显示优化
This commit is contained in:
@@ -319,8 +319,13 @@ public class CsEventUserPOServiceImpl extends ServiceImpl<CsEventUserPOMapper, C
|
||||
temp.setEvtParamPosition("-");
|
||||
|
||||
}else {
|
||||
temp.setEvtParamPosition(evtParamPosition.get(0).getValue()+(Objects.isNull(evtParamPosition.get(0).getUnit())?"":evtParamPosition.get(0).getUnit()));
|
||||
|
||||
//temp.setEvtParamPosition(evtParamPosition.get(0).getValue()+(Objects.isNull(evtParamPosition.get(0).getUnit())?"":evtParamPosition.get(0).getUnit()));
|
||||
temp.setEvtParamPosition(evtParamPosition.get(0).getValue());
|
||||
}
|
||||
if (Objects.equals(temp.getEvtParamPosition(),"-")) {
|
||||
if (!Objects.isNull(temp.getLocation())) {
|
||||
temp.setEvtParamPosition(Objects.equals(temp.getLocation(),"grid")?"电网侧":"负载侧");
|
||||
}
|
||||
}
|
||||
|
||||
List<EventDataSetDTO> evtParamTm = eventDataSetDTOS.stream().
|
||||
|
||||
Reference in New Issue
Block a user