update 电单车协议

This commit is contained in:
Guoqs
2024-09-20 09:22:15 +08:00
parent d08ee877f6
commit 249a5ac832
4 changed files with 13 additions and 8 deletions

View File

@@ -179,9 +179,11 @@ public class PileRemoteService {
String chargePortType = pileDetailVO.getChargePortType();
if (StringUtils.equals(chargePortType, Constants.THREE)) {
// 发送电动自行车桩停止充电指令
log.info("发送电单车桩停止充电指令, chargePortType:{}", chargePortType);
eBikeSendCommandService.sendStopChargingCommand(command);
} else {
// 发送电动汽车桩停止充电指令
log.info("发送汽车桩停止充电指令, chargePortType:{}", chargePortType);
ykcPushCommandService.pushStopChargingCommand(command);
}
log.info("remoteStopCharging success, pileConnectorCode:{}, transactionCode:{}", pileSn + connectorCode, transactionCode);

View File

@@ -58,11 +58,6 @@ public class PileDetailVO {
*/
private String merchantId;
/**
* 设备类型(1-快充2-慢充3-电单车)
*/
private String pileType;
/**
* 枪数量
*/