|
|
|
@ -84,9 +84,14 @@ public class TotalElectricMeterController { |
|
|
|
|
// map2.put("outTemp", b2);
|
|
|
|
|
// map2.put("Temp", b3);
|
|
|
|
|
List<ModelVo> modelVoList = psdcModelService.selDevIsControlByModelName(dd.getDeviceModel()); |
|
|
|
|
List<Map> ary = new ArrayList<>(); |
|
|
|
|
for (ModelVo scr : modelVoList){ |
|
|
|
|
map2.put(scr.getRelationField(), null); |
|
|
|
|
Map<String, Object> content = new HashMap<>(); |
|
|
|
|
content.put("label", scr.getIoDesc()); |
|
|
|
|
content.put("value", scr.getRelationField()); |
|
|
|
|
ary.add(content); |
|
|
|
|
} |
|
|
|
|
map2.put("controlKey", ary); |
|
|
|
|
maps2.add(map2); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|