From 5e8a6b6605a10f8fee48f90b7a201dfe52618632 Mon Sep 17 00:00:00 2001 From: Guoqs <123@jsowell.com> Date: Wed, 18 Sep 2024 10:01:29 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E7=94=B5=E5=8D=95=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/jsowell/pile/domain/ebike/AbsEBikeMessage2.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/domain/ebike/AbsEBikeMessage2.java b/jsowell-pile/src/main/java/com/jsowell/pile/domain/ebike/AbsEBikeMessage2.java index 220528e2a..3c9904ccc 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/domain/ebike/AbsEBikeMessage2.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/domain/ebike/AbsEBikeMessage2.java @@ -19,7 +19,6 @@ public class AbsEBikeMessage2 { protected int physicalId; // 物理ID (4字节) protected int messageId; // 消息ID (2字节) protected String command; // 命令 (1字节) - // protected Object payload; // 数据 (n字节) protected int checksum; // 校验 (2字节) public AbsEBikeMessage2(byte[] messageBytes) { @@ -62,7 +61,7 @@ public class AbsEBikeMessage2 { byte[] commandBytes = BytesUtil.copyBytes(messageBytes, startIndex, length); this.command = BytesUtil.bcd2StrLittle(commandBytes); - // 读取数据 + // 读取数据, 暂不处理, 交给子类处理 // byte[] dataBytes = BytesUtil.copyBytes(messageBytes, startIndex, length); // 读取校验