fix: 对特定基站推送插入 1005

This commit is contained in:
yarnom 2025-11-17 18:20:45 +08:00
parent 5dbfbe1b59
commit 494899c406

View File

@ -184,9 +184,10 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
buf.writeBytes(forwardBytes); buf.writeBytes(forwardBytes);
//推送策略F9P基站505兼容博通510推送 //推送策略F9P基站505兼容博通510推送
if (((deviceBs.getModel()==null || deviceBs.getModel() == GnssDevice.MODEL_G505) && // 特定基站站点 6541918 也允许插入 1005
(device.getModel()!=null && device.getModel()==GnssDevice.MODEL_G510))|| if (((deviceBs.getModel()==null || deviceBs.getModel() == GnssDevice.MODEL_G505)
(deviceBs.getDeviceId().equals("6541918"))){ || "6541918".equals(deviceBs.getDeviceId()))
&& (device.getModel()!=null && device.getModel()==GnssDevice.MODEL_G510)){
buf = insert1005(deviceBs, deviceId, buf); buf = insert1005(deviceBs, deviceId, buf);
} }