修复问题

This commit is contained in:
zms 2025-11-17 16:21:58 +08:00
parent 934e82a1d3
commit de144e7c62

View File

@ -244,7 +244,7 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
// 写入RTCM 1005消息
byte[] rtcm1005Bytes = ByteUtil.hexStringTobyte(rtcm1005);
buf1005.writeBytes(rtcm1005Bytes);
// logger.info("Generated RTCM 1005 message for base station {}: {}", deviceBs.getDeviceId(), rtcm1005);
logger.info("Generated RTCM 1005 message for base station {}: {}", deviceBs.getDeviceId(), rtcm1005);
} else {
//logger.warn("Failed to generate RTCM 1005 message for base station: {}", deviceBs.getDeviceId());
}
@ -253,9 +253,9 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
buf1005.writeBytes(originalData, insertIndex / 2, originalData.length - insertIndex / 2);
// 添加日志记录插入位置和完整数据
// logger.info("Inserted RTCM 1005 message before position {}, complete data: {}",
// insertIndex,
// ByteUtil.bytesToHexString(buf.array()));
logger.info("Inserted RTCM 1005 message before position {}, complete data: {}",
insertIndex,
ByteUtil.bytesToHexString(buf.array()));
}
// 更新最后转发时间