| | |
| | | |
| | | @ApiOperation(value = "设置a200均衡仪参数") |
| | | @PostMapping("setA200Param") |
| | | public Object setA200Param(@RequestBody A200ResDto param,@RequestParam int devId){ |
| | | return service.setA200Param(param,devId); |
| | | public Object setA200Param(@RequestBody A200ResDto param){ |
| | | return service.setA200Param(param); |
| | | } |
| | | |
| | | @ApiOperation(value = "批量设置a200均衡仪参数") |
| | | @PostMapping("setA200ParamPl") |
| | | public Object setA200ParamPl(@RequestBody List<A200ResDto> params){ |
| | | return service.setA200ParamPl(params); |
| | | } |
| | | |
| | | @ApiOperation(value = "启动a200均衡仪放电/充电") |
| | |
| | | return service.stopA200Param(devId); |
| | | } |
| | | |
| | | @ApiOperation(value = "批量控制a200均衡仪") |
| | | @GetMapping("controllA200ParamPl") |
| | | public Response controllA200ParamPl(@RequestParam List<Integer> devIds){ |
| | | return service.controllA200ParamPl(devIds); |
| | | @ApiOperation(value = "批量启动a200均衡仪") |
| | | @PostMapping("startA200ParamPl") |
| | | public Response startA200ParamPl(@RequestBody List<Integer> devIds,@RequestParam int type){ |
| | | return service.startA200ParamPl(devIds,type); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "批量停止a200均衡仪") |
| | | @PostMapping("stopA200ParamPl") |
| | | public Response stopA200ParamPl(@RequestBody List<Integer> devIds){ |
| | | return service.stopA200ParamPl(devIds); |
| | | } |
| | | |
| | | } |