| | |
| | | private PwrdevAlarmParamService pwrAlmparamService; |
| | | |
| | | |
| | | @PostMapping("getBattAlmParam") |
| | | /*@PostMapping("getBattAlmParam") |
| | | @ApiOperation("获取电池告警参数") |
| | | public Response getBattAlmParam(@RequestBody AlmDto almDto){ |
| | | almDto.setUid(ActionUtil.getUser().getId()); |
| | | return battAlmparamService.getBattAlmParam(almDto); |
| | | }*/ |
| | | |
| | | @GetMapping("getBattAlmParam") |
| | | @ApiOperation("获取电池告警参数") |
| | | public Response getBattAlmParam(@RequestParam Integer battgroupId){ |
| | | return battAlmparamService.getBattAlmParam(battgroupId); |
| | | } |
| | | |
| | | @PostMapping("setBattAlmParam") |
| | |
| | | return devAlmparamService.setDevAlmParam(almparamList); |
| | | } |
| | | |
| | | @PostMapping("getPwrAlmParam") |
| | | /*@PostMapping("getPwrAlmParam") |
| | | @ApiOperation("获取电源告警参数") |
| | | public Response getPwrAlmParam(@RequestBody AlmDto almDto){ |
| | | almDto.setUid(ActionUtil.getUser().getId()); |
| | | return pwrAlmparamService.getPwrAlmParam(almDto); |
| | | }*/ |
| | | |
| | | @GetMapping("getPwrAlmParam") |
| | | @ApiOperation("获取电源告警参数") |
| | | public Response getPwrAlmParam(@RequestParam Integer powerId){ |
| | | return pwrAlmparamService.getPwrAlmParam(powerId); |
| | | } |
| | | |
| | | |
| | | @PostMapping("setPwrAlmParam") |
| | | @ApiOperation("修改电源告警参数") |
| | | public Response setPwrAlmParam(@RequestBody List<PwrdevAlarmParam> almparamList){ |