清理代码
This commit is contained in:
parent
6ff341e7a1
commit
4f95f4bfce
@ -52,7 +52,7 @@ public class ChargingPileBinaryHandler implements ClientBinaryHandler {
|
||||
for (byte[] d : dataList) {
|
||||
String dataStr = HexUtils.toHex(d);
|
||||
String pileNo = ChargingPileServer.getPileNo(handler);
|
||||
log.info("received data <<<< {}, from pile <<<< {}", dataStr, pileNo);
|
||||
log.info("received data <<<< {}, from pile <<<< ({})", dataStr, pileNo);
|
||||
if (d.length <= 2 || !dataStr.startsWith("68")) {
|
||||
log.info("received invalid data <<<< |{}|, len[{}]", dataStr, d.length);
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user