| | |
| | | |
| | | import com.whyc.constant.*; |
| | | import com.whyc.dto.AlarmParam; |
| | | import com.whyc.dto.Param.ParamAlmDto; |
| | | import com.whyc.dto.Real.AlmDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.dto.Station.Power; |
| | |
| | | return battAlmparamService.getBattAlmParam(almDto); |
| | | }*/ |
| | | |
| | | @GetMapping("getBattAlmParam") |
| | | @PostMapping("getBattAlmParam") |
| | | @ApiOperation("获取电池告警参数") |
| | | public Response getBattAlmParam(@RequestParam Integer battgroupId){ |
| | | return battAlmparamService.getBattAlmParam(battgroupId); |
| | | public Response getBattAlmParam(@RequestBody ParamAlmDto dto){ |
| | | Integer uid=ActionUtil.getUser().getId(); |
| | | dto.setUid(uid); |
| | | return battAlmparamService.getBattAlmParam(dto); |
| | | } |
| | | |
| | | @PostMapping("setBattAlmParam") |
| | |
| | | return pwrAlmparamService.getPwrAlmParam(almDto); |
| | | }*/ |
| | | |
| | | @GetMapping("getPwrAlmParam") |
| | | @PostMapping("getPwrAlmParam") |
| | | @ApiOperation("获取电源告警参数") |
| | | public Response getPwrAlmParam(@RequestParam Integer powerId){ |
| | | return pwrAlmparamService.getPwrAlmParam(powerId); |
| | | public Response getPwrAlmParam(@RequestBody ParamAlmDto dto){ |
| | | Integer uid=ActionUtil.getUser().getId(); |
| | | dto.setUid(uid); |
| | | return pwrAlmparamService.getPwrAlmParam(dto); |
| | | } |
| | | |
| | | |