Commit f989e487 authored by zhengjiangtao's avatar zhengjiangtao

线条样式后天

parent e179730f
......@@ -74,6 +74,8 @@ public class TopographyNodeDTO{
*/
private Integer equipType;
private String ports;
public Integer getEquipType() {
return equipType;
......@@ -171,6 +173,14 @@ public class TopographyNodeDTO{
public void setWarnMessage(String warnMessage) {
this.warnMessage = warnMessage;
}
public String getPorts() {
return ports;
}
public void setPorts(String ports) {
this.ports = ports;
}
@Override
public String toString() {
return "TopographyNodeDTO [id=" + id + ", key=" + key + ", category=" + category + ", group=" + group + ", loc="
......
......@@ -105,6 +105,7 @@ public class TopographyServiceImpl extends GenericManagerImpl<TopographyTree, St
TopographyNodeDTO topographyNodeDTO = new TopographyNodeDTO();
BeanUtils.copyProperties(node, topographyNodeDTO);
topographyNodeDTO.setWarnState(node.getState());
topographyNodeDTO.setPorts(node.getPorts());
if (node.getState() != 0) {
topographyNodeDTO.setWarnMessage(node.getNumber() + AbnormalStateEnum.getText(node.getState()));
}
......@@ -343,6 +344,7 @@ public class TopographyServiceImpl extends GenericManagerImpl<TopographyTree, St
}
return results;
}
@Override
public List<TopographyLineDTO> getDeviceLinks(String orgcode) {
......
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