1、基站不统计无固定解

This commit is contained in:
weidong 2024-11-26 07:51:55 +08:00
parent bbff4754d3
commit 259945e43d
2 changed files with 3 additions and 2 deletions

View File

@ -96,7 +96,8 @@ public class D3F0SelfCheckMessageExecutor implements Executor<D3F0SelfCheckMessa
}*/
private void checkAndSendF9PColdStartCommand(Device device){
if(device.getModel() == GnssDevice.MODEL_G505){
if(device.getModel() == GnssDevice.MODEL_G505 &&
device.getDeviceType() == GnssDevice.TYPE_ROVER){
// 连续6个周期无解则发送 F9P 冷启动指令
if(device.getNoFixedAndFloatResult() >= 6){
sendF9PColdStartCommand(device);

View File

@ -121,7 +121,7 @@ public class Device {
}
public void clearStat(){
if(fixedNum+floatNum == 0) noFixedAndFloatResult++;
if(fixedNum+floatNum == 0 && d3xxCount>0) noFixedAndFloatResult++;
else noFixedAndFloatResult = 0;
d3xxCount = 0;