From 52fc99187771247b58ecf52e1fcd390bfe7ed3d9 Mon Sep 17 00:00:00 2001 From: kaiyu <404897439@qq.com> Date: Tue, 02 Nov 2021 11:21:41 +0800 Subject: [PATCH] screen-api 增加获取累计AQI和首要污染物接口 --- screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java b/screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java index 9f0d036..fd1d4bc 100644 --- a/screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java +++ b/screen-api/src/main/java/com/moral/api/pojo/vo/monitorPoint/MonitorPointsVO.java @@ -31,6 +31,7 @@ DeviceVO deviceVO = deviceConvert(device); deviceVOS.add(deviceVO); } + monitorPointVO.setId(monitorPoint.getId()); monitorPointVO.setName(monitorPoint.getName()); monitorPointVO.setLatitude(monitorPoint.getLatitude()); monitorPointVO.setLongitude(monitorPoint.getLongitude()); @@ -45,6 +46,7 @@ DeviceVO vo = new DeviceVO(); vo.setName(device.getName()); vo.setMac(device.getMac()); + vo.setState(device.getState()); vo.setLatitude(device.getLatitude()); vo.setLongitude(device.getLongitude()); return vo; -- Gitblit v1.8.0