| | |
| | | public ResponseVO<Object> QueryVersion(@RequestBody C3ChargingParam c3ChargingParam) { |
| | | String result = c3ChargingService.QueryVersion(c3ChargingParam.getC3Mac()); |
| | | |
| | | if ("操作成功".equals(result)) { |
| | | return ResponseUtil.success(result); |
| | | } else { |
| | | return ResponseUtil.fail(result); |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | public ResponseVO<Object> QueryIntervalTime(@RequestBody C3ChargingParam c3ChargingParam) { |
| | | String result = c3ChargingService.QueryIntervalTime(c3ChargingParam.getC3Mac()); |
| | | |
| | | if ("操作成功".equals(result)) { |
| | | return ResponseUtil.success(result); |
| | | } else { |
| | | return ResponseUtil.fail(result); |
| | | } |
| | | } |
| | | |
| | | /** |
| | |
| | | public ResponseVO<Object> QueryConstant(@RequestBody C3ChargingParam c3ChargingParam) { |
| | | String result = c3ChargingService.QueryConstant(c3ChargingParam.getC3Mac()); |
| | | |
| | | if ("操作成功".equals(result)) { |
| | | return ResponseUtil.success(result); |
| | | } else { |
| | | return ResponseUtil.fail(result); |
| | | } |
| | | } |
| | | |
| | | /** |