| | |
| | | package com.whyc.controller; |
| | | |
| | | import com.whyc.dto.A200ResDto; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.db_lithium_ram_db.DevActmTestparam; |
| | | import com.whyc.service.DevA200TestparamService; |
| | |
| | | |
| | | @ApiOperation(value = "设置a200均衡仪参数") |
| | | @PostMapping("setA200Param") |
| | | public Response setA200Param(@RequestBody DevActmTestparam param){ |
| | | return service.setA200Param(param); |
| | | public Object setA200Param(@RequestBody A200ResDto param,@RequestParam int devId){ |
| | | return service.setA200Param(param,devId); |
| | | } |
| | | |
| | | @ApiOperation(value = "控制a200均衡仪") |
| | | @GetMapping("controllA200Param") |
| | | public Response controllA200Param(@RequestParam int devId){ |
| | | return service.controllA200Param(devId); |
| | | @ApiOperation(value = "启动a200均衡仪放电/充电") |
| | | @GetMapping("startA200Param") |
| | | public Object startA200Param(@RequestParam int devId,@RequestParam int type){ |
| | | return service.startA200Param(devId,type); |
| | | } |
| | | |
| | | @ApiOperation(value = "停止a200均衡仪放电/充电") |
| | | @GetMapping("stopA200Param") |
| | | public Object stopA200Param(@RequestParam int devId){ |
| | | return service.stopA200Param(devId); |
| | | } |
| | | |
| | | @ApiOperation(value = "批量控制a200均衡仪") |