| | |
| | | public Response updateKgdyParam(@RequestBody Fbs9100Setparam a059setParam) { |
| | | return service.updateKgdyParam(a059setParam); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "读取参数-配网电源") |
| | | @GetMapping("searchPW") |
| | | public Response searchPW(@RequestParam int devId){ |
| | | return service.searchPW(devId); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "设置参数-配网电源") |
| | | @PostMapping("updatePW") |
| | | public Response updatePW(@RequestBody Fbs9100Setparam param) { |
| | | return service.updatePW(param); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "设置参数-配网电源-启动充电测试|放电测试") |
| | | @PostMapping("updatePWStartTest") |
| | | public Response updatePWStartTest(@RequestParam int devId,@RequestParam int opCmd,@RequestParam int testCmd) { |
| | | return service.updatePWStartTest(devId,opCmd,testCmd); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "设置参数-配网电源-停止测试") |
| | | @PostMapping("updatePWStopTest") |
| | | public Response updatePWStopTest(@RequestParam int devId) { |
| | | return service.updatePWStopTest(devId); |
| | | } |
| | | |
| | | @ApiOperation(tags = "设置参数", value = "设置参数-配网电源-重启设备") |
| | | @PostMapping("updatePWRestartDevice") |
| | | public Response updatePWRestartDevice(@RequestParam int devId) { |
| | | return service.updatePWRestartDevice(devId); |
| | | } |
| | | } |