File was renamed from screen-api/src/main/java/com/moral/api/controller/AlarmController.java |
| | |
| | | @RestController |
| | | @CrossOrigin(origins = "*", maxAge = 3600) |
| | | @RequestMapping("/deviceInfo") |
| | | public class AlarmController { |
| | | public class DeviceController { |
| | | |
| | | @Autowired |
| | | OrganizationUnitAlarmService organizationUnitAlarmService; |
| | |
| | | AlarmLevelVO vo = AlarmLevelVO.convert(sensors); |
| | | return new ResultMessage(ResponseCodeEnum.SUCCESS.getCode(), ResponseCodeEnum.SUCCESS.getMsg(), vo); |
| | | } |
| | | |
| | | @GetMapping("queryFiveMinuteData") |
| | | public ResultMessage queryFiveMinuteData(Integer regionCode,String sensorCode){ |
| | | |
| | | return null; |
| | | } |
| | | } |