| | |
| | | @GetMapping("rtd-config") |
| | | public ResultBean<Map<String,Object>> getRealTimeDevicetConfig(Integer orgId){ |
| | | Map<String,Object> resultMap = new HashMap(); |
| | | resultMap.put("deviceVersions",""); |
| | | resultMap.put("sensors",""); |
| | | resultMap.put("rtdLayout",""); |
| | | resultMap.put("deviceVersions",new ArrayList<>()); |
| | | resultMap.put("sensorCombs", new ArrayList<>()); |
| | | resultMap.put("sensors", new ArrayList<>()); |
| | | resultMap.put("rtdLayout", new HashMap<>()); |
| | | // 获取当前组织所含设备版本数组 |
| | | List<DeviceVersion> deviceVersionList = deviceVersionService.queryByOrgId(orgId); |
| | | // 获取第一个version 下所有传感器 |