update 预约充电

This commit is contained in:
Guoqs
2024-08-02 10:48:07 +08:00
parent 993901caf8
commit 13c53d0bd1
3 changed files with 763 additions and 118 deletions

View File

@@ -159,7 +159,7 @@ public class YKCPushCommandServiceImpl implements YKCPushCommandService {
// 消息id = channelId + 帧类型(例如: "0x34")
String msgId = ctx.channel().id().toString() + "_" + YKCUtils.frameType2Str(((YKCFrameTypeCode) frameTypeCode).getBytes());
log.info("同步获取响应数据-发送消息, msgId:{}", msgId);
// log.info("同步获取响应数据-发送消息, msgId:{}", msgId);
RpcUtil.getSyncPromiseMap().put(msgId, syncPromise);
// 发送消息此处如果发送玩消息并且在get之前返回了结果下一行的get将不会进入阻塞也可以顺利拿到结果