ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPBaseMsgVehicleAddedAck.java
@@ -38,6 +38,7 @@ * 解析报文 */ public UPBaseMsgVehicleAddedAck decode(BaseMsg baseMsg) { try { byte[] data = baseMsg.getData(); ByteBuf byteBuf = Unpooled.wrappedBuffer(data); this.vehicleNo = baseMsg.getVehicleNo(); @@ -47,6 +48,9 @@ //车辆信息 this.carInfo = Jtt809Util.readGBKString(byteBuf, baseMsg.getDataLength()); }catch (Exception e){ e.printStackTrace(); } return this; } }