mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
解析0x15 充电握手
This commit is contained in:
@@ -99,7 +99,7 @@ public class Data0x15 extends YKCBaseMessage {
|
||||
/**
|
||||
* BMS 电池组产权标识 (<0>: =租赁; <1>: =车自有)
|
||||
*/
|
||||
private String bmsPropertyIdentificationByteArr;
|
||||
private String bmsPropertyIdentification;
|
||||
|
||||
/**
|
||||
* BMS 预留位
|
||||
@@ -198,7 +198,8 @@ public class Data0x15 extends YKCBaseMessage {
|
||||
// BMS 电池组产权标识 (<0>: =租赁; <1>: =车自有)
|
||||
startIndex += length;
|
||||
length = 1;
|
||||
byte[] BMSPropertyIdentificationByteArr = BytesUtil.copyBytes(messageBytes, startIndex, length);
|
||||
byte[] bmsPropertyIdentificationByteArr = BytesUtil.copyBytes(messageBytes, startIndex, length);
|
||||
this.bmsPropertyIdentification = BytesUtil.bin2HexStr(bmsPropertyIdentificationByteArr);
|
||||
|
||||
// BMS 预留位
|
||||
startIndex += length;
|
||||
|
||||
Reference in New Issue
Block a user