fix: 对特定基站推送新增日志
This commit is contained in:
parent
494899c406
commit
f2c614e2df
@ -187,7 +187,8 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
|
||||
// 特定基站站点 6541918 也允许插入 1005
|
||||
if (((deviceBs.getModel()==null || deviceBs.getModel() == GnssDevice.MODEL_G505)
|
||||
|| "6541918".equals(deviceBs.getDeviceId()))
|
||||
&& (device.getModel()!=null && device.getModel()==GnssDevice.MODEL_G510)){
|
||||
&& (device.getModel()!=null && device.getModel()==GnssDevice.MODEL_G510))
|
||||
{
|
||||
buf = insert1005(deviceBs, deviceId, buf);
|
||||
}
|
||||
|
||||
@ -267,6 +268,15 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
|
||||
// LocalDateTime.now(),
|
||||
// ByteUtil.bytesToHexString(buf.array()));
|
||||
}
|
||||
|
||||
if (logger.isDebugEnabled()) {
|
||||
try {
|
||||
logger.debug("insert1005 hex for base {} to {}: {}",
|
||||
deviceBs.getDeviceId(), deviceId,
|
||||
ByteUtil.bytesToHexString(buf1005.array()));
|
||||
} catch (Exception ignore) {}
|
||||
}
|
||||
|
||||
return buf1005;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user