| | |
| | | return ResponseUtil.success(c3ChargingService.SetHeartbeatPacketTimeCharging(c3ChargingParam.getC3Mac(), c3ChargingParam.getTime(), false)); |
| | | } |
| | | |
| | | // /** |
| | | // * 设置电压/电流常数(各一字节)(默认值0xBC64) |
| | | // */ |
| | | // @PostMapping("/SetConstant") |
| | | // public ResponseVO<Object> SetConstant(@RequestBody @Validated C3ChargingSetTimeParam c3ChargingSetTimeParam) { |
| | | // |
| | | // return ResponseUtil.success(c3ChargingService.SetHeartbeatPacketTimeCharging(c3ChargingSetTimeParam.getC3Mac(), c3ChargingSetTimeParam.getTime(), false)); |
| | | // } |
| | | /** |
| | | * 设置电压/电流常数(各一字节)(默认值0xBC64) |
| | | */ |
| | | @PostMapping("/SetConstant") |
| | | public ResponseVO<Object> SetConstant(@RequestBody @Validated C3ChargingParam c3ChargingParam) { |
| | | |
| | | return ResponseUtil.success(c3ChargingService.SetConstant(c3ChargingParam.getC3Mac(), c3ChargingParam.getConstant())); |
| | | } |
| | | |
| | | |
| | | /** |