| | |
| | | return params;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public JSONObject getMacList(int monitPointId) {
|
| | | JSONObject params = new JSONObject();
|
| | | MonitorPoint monitorPoint = monitorPointMapper.getMonitorPointById(monitPointId);
|
| | |
|
| | | //获取厂界所有设备
|
| | | List<Device> deviceList = deviceService.getDeviceById2(monitPointId);
|
| | |
|
| | | params.put("longitudeCompany",monitorPoint.getLongitude());
|
| | | params.put("latitudeCompany",monitorPoint.getLatitude());
|
| | | params.put("latitudeCompany",monitorPoint.getLatitude());
|
| | | params.put("monitPointId",monitPointId);
|
| | | params.put("deviceList",deviceList);
|
| | | return params;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<MonitorPoint> getMonitorPointListByAccountId(int id) {
|
| | | return monitorPointMapper.getMonitorPointListByAccountId(id);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public MonitorPoint byIdGetMonitorPoint(int id) {
|
| | | return monitorPointMapper.byIdGetMonitorPoint(id);
|
| | | }
|
| | |
|
| | |
|
| | | }
|