特定基站插入1005

This commit is contained in:
zms 2025-11-17 15:44:58 +08:00
parent dd24d14d0c
commit 16059ee5d4

View File

@ -193,15 +193,6 @@ public class D331RtcmMessageExecutor implements Executor<D331RtcmMessage, Void>
buf = insert1005(deviceBs, deviceId, buf); 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){ private ByteBuf insert1005(Device deviceBs, String deviceId, ByteBuf buf){