| | |
| | | private BattalarmDataService battalarmDataService; |
| | | |
| | | @Autowired |
| | | private PwrdevAlarmService pwrdevAlarmService; |
| | | |
| | | @Autowired |
| | | private BattRealdataIdService battRealdataIdService; |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | @GetMapping("getBattHisRealInAlm") |
| | | @ApiOperation("电池告警点击具体告警信息查看从告警开始时间到现在的历史实时数据") |
| | | @ApiOperation("预警分析管理-主属性和分析属性") |
| | | public Response getBattHisRealInAlm(@RequestParam Integer battgroupId,@RequestParam String startTime,@RequestParam(required = false) Integer almId) throws ParseException, InterruptedException { |
| | | return battRealdataIdService.getBattHisRealInAlm(battgroupId,startTime,almId); |
| | | } |
| | | |
| | | @PostMapping("getPwrtAlmAnalyse") |
| | | @ApiOperation("预警分析管理-电源告警") |
| | | public Response getPwrtAlmAnalyse(@RequestBody AlmAnalyseDto dto){ |
| | | Integer uid=ActionUtil.getUser().getId(); |
| | | dto.setUid(uid); |
| | | return pwrdevAlarmService.getPwrtAlmAnalyse(dto); |
| | | } |
| | | |
| | | } |