device代码添加字段
This commit is contained in:
@@ -134,7 +134,7 @@ public class Monitor extends BaseEntity {
|
||||
private Integer isSpecialSupplyElectricity;
|
||||
|
||||
/**
|
||||
* 监测点标签
|
||||
* 监测对象类型
|
||||
*/
|
||||
private String monitorTag;
|
||||
|
||||
|
||||
@@ -137,6 +137,7 @@ public class CommTerminalServiceImpl implements CommTerminalService {
|
||||
lineDevGetDTO.setDevId(it.getTerminalId());
|
||||
lineDevGetDTO.setType(1);
|
||||
lineDevGetDTO.setLineType(1);
|
||||
lineDevGetDTO.setLineTag(it.getMonitorTag());
|
||||
lineDevGetDTO.setVoltageLevel(mapVoltage.get(it.getVoltageLevel()).getValue());
|
||||
lineList.add(lineDevGetDTO);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user