mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-03 01:20:15 +08:00
update 电单车协议
This commit is contained in:
@@ -122,12 +122,12 @@ public class PileRemoteService {
|
||||
return;
|
||||
}
|
||||
log.info("【=====平台下发指令=====】: 电单车远程启动充电, 桩号:{}, 枪口号:{}", pileSn, connectorCode);
|
||||
StartChargingCommand startChargingCommand = StartChargingCommand.builder()
|
||||
.pileSn(pileSn)
|
||||
.connectorCode(connectorCode)
|
||||
.transactionCode(transactionCode)
|
||||
.chargeAmount(chargeAmount)
|
||||
.build();
|
||||
EBikeStartChargingCommand startChargingCommand = new EBikeStartChargingCommand();
|
||||
startChargingCommand.setPileSn(pileSn);
|
||||
startChargingCommand.setConnectorCode(connectorCode);
|
||||
startChargingCommand.setTransactionCode(transactionCode);
|
||||
startChargingCommand.setChargeAmount(chargeAmount);
|
||||
|
||||
try {
|
||||
ChargingOperationResponse startChargingResponse = eBikeSendCommandService.sendStartChargingCommand(startChargingCommand);
|
||||
log.info("StartChargingResponse:{}", JSON.toJSONString(startChargingResponse));
|
||||
|
||||
Reference in New Issue
Block a user