mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 电单车
This commit is contained in:
@@ -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);
|
||||
|
||||
// 读取校验
|
||||
|
||||
Reference in New Issue
Block a user