1、统计列表增加固定解浮点解
2、增加算法3,用于博通测试 3、组参数增加说明 4、删除原始数据表
This commit is contained in:
parent
6da8c91105
commit
16554b2a50
@ -1,5 +1,6 @@
|
|||||||
package com.imdroid.sideslope.sal;
|
package com.imdroid.sideslope.sal;
|
||||||
|
|
||||||
|
import com.imdroid.sideslope.bd.UBXUtil;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
@ -58,6 +59,9 @@ public class Device {
|
|||||||
LocalDateTime lastRxTime;
|
LocalDateTime lastRxTime;
|
||||||
int lastRxHead = 0;
|
int lastRxHead = 0;
|
||||||
|
|
||||||
|
int fixedNum = 0;
|
||||||
|
int floatNum = 0;
|
||||||
|
|
||||||
public void updateRx(int head, int bytes,int count){
|
public void updateRx(int head, int bytes,int count){
|
||||||
lastRxHead = head;
|
lastRxHead = head;
|
||||||
lastRxTime = LocalDateTime.now();
|
lastRxTime = LocalDateTime.now();
|
||||||
@ -90,6 +94,11 @@ public class Device {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void updateB562Quality(int quality){
|
||||||
|
if(quality == UBXUtil.FIX_RESULT) fixedNum++;
|
||||||
|
else if(quality == UBXUtil.FLOAT_RESULT) floatNum++;
|
||||||
|
}
|
||||||
|
|
||||||
public void clearStat(){
|
public void clearStat(){
|
||||||
d3xxCount = 0;
|
d3xxCount = 0;
|
||||||
d3xxbytes = 0;
|
d3xxbytes = 0;
|
||||||
@ -97,6 +106,8 @@ public class Device {
|
|||||||
d341bytes = 0;
|
d341bytes = 0;
|
||||||
sataStatCount = 0;
|
sataStatCount = 0;
|
||||||
satelitesInUse = 0;
|
satelitesInUse = 0;
|
||||||
|
fixedNum = 0;
|
||||||
|
floatNum = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clearD342Stat(){
|
public void clearD342Stat(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user