From e2c0d7fd34d51483b039667cb55c30e3e23b99f7 Mon Sep 17 00:00:00 2001 From: jsowell <123@jsowell.com> Date: Fri, 26 Jun 2026 15:45:10 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=89=93=E5=8D=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsowell/pile/service/impl/YKCPushCommandServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/YKCPushCommandServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/YKCPushCommandServiceImpl.java index ac0147843..688bfbf4b 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/YKCPushCommandServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/YKCPushCommandServiceImpl.java @@ -786,6 +786,7 @@ public class YKCPushCommandServiceImpl implements YKCPushCommandService { public byte[] pushYuxinReservationChargingCommand(YuxinReservationChargingCommand command) { String pileSn = command.getPileSn(); byte[] msg = buildYuxinReservationChargingMsg(command); + log.info("羽信预约充电下发原始报文, pileSn:{}, rawMessage:{}", pileSn, BytesUtil.bin2HexStr(msg)); byte[] response; try { response = this.supplySend(msg, pileSn, YKCFrameTypeCode.YUXIN_RESERVATION_CHARGING_SETUP_CODE); @@ -793,6 +794,8 @@ public class YKCPushCommandServiceImpl implements YKCPushCommandService { log.error("发送羽信预约充电消息异常", e); response = null; } + log.info("羽信预约充电回复原始报文, pileSn:{}, rawMessage:{}", + pileSn, response == null ? "null" : BytesUtil.bin2HexStr(response)); log.info("【=====平台下发指令=====】: 羽信预约充电指令, 帧类型:{}, 交易流水号:{}, 桩编号:{}, 枪口号:{}, 账户余额:{}, 预约类型(00-立即预约;01-取消预约):{}, 充电策略:{}, 充电参数:{}, 系统时间:{}, 预约启动时间:{}, 预约超时时间:{}", YKCUtils.frameType2Str(YKCFrameTypeCode.YUXIN_RESERVATION_CHARGING_SETUP_CODE.getBytes()),