mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -57,6 +57,11 @@ public class RemoteControlGroundLockResponseHandler extends AbstractHandler{
|
||||
byte[] connectorCodeByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
||||
String connectorCode = BytesUtil.bcd2Str(connectorCodeByteArr);
|
||||
|
||||
// 升/降地锁标识 升锁 0X55,降锁 0XFF
|
||||
startIndex += length;
|
||||
byte[] raiseLowMarkingByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
||||
String raiseLowMarking = BytesUtil.bin2HexStr(raiseLowMarkingByteArr);
|
||||
|
||||
// 地锁控制返回标志 布尔型( 1, 鉴权成功; 0, 鉴权失败)
|
||||
startIndex += length;
|
||||
byte[] controlResultByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
||||
@@ -67,8 +72,8 @@ public class RemoteControlGroundLockResponseHandler extends AbstractHandler{
|
||||
length = 4;
|
||||
byte[] waitingUseByteArr = BytesUtil.copyBytes(msgBody, startIndex, length);
|
||||
|
||||
log.info("===充电桩返回遥控地锁升锁与降锁数据(上行)=== result: 桩编号:{}, 枪号:{}, 地锁控制返回标志:( 1, 鉴权成功; 0, 鉴权失败){}",
|
||||
pileSn, connectorCode, controlResult);
|
||||
log.info("===充电桩返回遥控地锁升锁与降锁数据(上行)=== result: 桩编号:{}, 枪号:{}, 升/降地锁标识:{}, 地锁控制返回标志:( 1, 鉴权成功; 0, 鉴权失败){}",
|
||||
pileSn, connectorCode,raiseLowMarking, controlResult);
|
||||
|
||||
if (StringUtils.equals(controlResult, "01")) {
|
||||
// 鉴权成功
|
||||
|
||||
Reference in New Issue
Block a user