ruoyi-service/ruoyi-dataInterchange/src/main/java/com/ruoyi/dataInterchange/model/UPExgMsgRealLocation.java
@@ -48,6 +48,7 @@ * 解析报文 */ public UPExgMsgRealLocation decode(UPExgMsg exgMsg) { try { byte[] data = exgMsg.getData(); ByteBuf byteBuf = Unpooled.wrappedBuffer(data); this.vehicleNo = exgMsg.getVehicleNo(); @@ -55,6 +56,9 @@ this.dataType = exgMsg.getDataType(); this.dataLength = exgMsg.getDataLength(); this.gnssData = new GnssData().decode(byteBuf); }catch (Exception e){ e.printStackTrace(); } return this; } }