| | |
| | | @Autowired |
| | | private BattAlarmHisService hisService; |
| | | |
| | | @ApiOperation("在用电池组实时推送告警信息") |
| | | @GetMapping("getResBattAlm") |
| | | public Response getResBattAlm(@RequestParam(required = false) int binfId){ |
| | | Response res=service.getResBattAlm(binfId); |
| | | return res; |
| | | } |
| | | |
| | | @ApiOperation("查询电池告警") |
| | | @GetMapping("getBattAlarm") |
| | | public Response getBattAlarm(@RequestParam(required = false) int almLevel,@RequestParam String startTime,@RequestParam String endTime |
| | |
| | | } |
| | | |
| | | @ApiOperation("查询电池组历史时间告警") |
| | | @GetMapping("getHisAlatm") |
| | | public Response getHisAlatm(@RequestParam int binfId,@RequestParam String startTime,@RequestParam String endTime |
| | | @GetMapping("getHisAlarm") |
| | | public Response getHisAlarm(@RequestParam int binfId,@RequestParam String startTime,@RequestParam String endTime |
| | | , @RequestParam int pageNum, @RequestParam int pageSize) throws ParseException, InterruptedException { |
| | | Response res=hisService.getHisAlatm(binfId,startTime,endTime,pageNum,pageSize); |
| | | Response res=hisService.getHisAlarm(binfId,startTime,endTime,pageNum,pageSize); |
| | | return res; |
| | | } |
| | | } |