Revert "修复问题"

This reverts commit de144e7c626626b1dab104ad0d9e61ab1d7dc94c.
This commit is contained in:
yarnom 2025-11-17 17:18:21 +08:00
parent f81e541cad
commit d85cb6b04b

View File

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