1、基站不统计无固定解
This commit is contained in:
parent
bbff4754d3
commit
259945e43d
@ -96,7 +96,8 @@ 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){
|
||||||
// 连续6个周期无解,则发送 F9P 冷启动指令
|
// 连续6个周期无解,则发送 F9P 冷启动指令
|
||||||
if(device.getNoFixedAndFloatResult() >= 6){
|
if(device.getNoFixedAndFloatResult() >= 6){
|
||||||
sendF9PColdStartCommand(device);
|
sendF9PColdStartCommand(device);
|
||||||
|
|||||||
@ -121,7 +121,7 @@ public class Device {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void clearStat(){
|
public void clearStat(){
|
||||||
if(fixedNum+floatNum == 0) noFixedAndFloatResult++;
|
if(fixedNum+floatNum == 0 && d3xxCount>0) noFixedAndFloatResult++;
|
||||||
else noFixedAndFloatResult = 0;
|
else noFixedAndFloatResult = 0;
|
||||||
|
|
||||||
d3xxCount = 0;
|
d3xxCount = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user