Revert "特定基站插入1005"

This reverts commit 16059ee5d4568be21757a1401f755ebffda70ca1.
This commit is contained in:
yarnom 2025-11-17 17:53:22 +08:00
parent 404890f16f
commit 480dcf443e

View File

@ -193,6 +193,15 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
buf = insert1005(deviceBs, deviceId, buf);
}
//推送策略F9P基站505兼容博通510推送
if ((deviceBs.getModel()==null || deviceBs.getModel() == GnssDevice.MODEL_G505) &&
(device.getModel()!=null && device.getModel()==GnssDevice.MODEL_G510) &&
TARGET_BASE_STATION_ID_FOR_1005.equals(deviceBs.getDeviceId())){
buf = insert1005(deviceBs, deviceId, buf);
}
deviceChannel.writeAndFlush(buf);
}
}
private ByteBuf insert1005(Device deviceBs, String deviceId, ByteBuf buf){