1、基站不统计无固定解

This commit is contained in:
weidong 2024-11-26 08:34:00 +08:00
parent 259945e43d
commit b8ca6e5a0b

View File

@ -97,11 +97,11 @@ public class D3F0SelfCheckMessageExecutor implements Executor<D3F0SelfCheckMessa
private void checkAndSendF9PColdStartCommand(Device device){ private void checkAndSendF9PColdStartCommand(Device device){
if(device.getModel() == GnssDevice.MODEL_G505 && if(device.getModel() == GnssDevice.MODEL_G505 &&
device.getDeviceType() == GnssDevice.TYPE_ROVER){ device.getDeviceType() == Device.DEVICE_ROVER){
// 连续6个周期无解则发送 F9P 冷启动指令 // 连续6个周期无解则发送 F9P 冷启动指令
if(device.getNoFixedAndFloatResult() >= 6){ if(device.getNoFixedAndFloatResult() >= 6){
sendF9PColdStartCommand(device); //sendF9PColdStartCommand(device);
logger.debug("{}: 连续{}次无固定解和浮点解,发送 F9P 冷启动指令",device.getDeviceId(), device.getNoFixedAndFloatResult()); logger.info("{}: 类型{}, 连续{}次无固定解和浮点解,发送 F9P 冷启动指令",device.getDeviceId(), device.getDeviceType(),device.getNoFixedAndFloatResult());
device.clearNoResultStat(); device.clearNoResultStat();
} }
} }