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