1、之前的处理逻辑认为博通测站只上报GGA,不会有很大的报文,超过100字节会认为是异常报文,这不适用于气象站
This commit is contained in:
parent
4942c23200
commit
d01764a1b6
@ -113,7 +113,7 @@ public class Device {
|
|||||||
d341Count+=count;
|
d341Count+=count;
|
||||||
d341bytes += bytes;
|
d341bytes += bytes;
|
||||||
lastRxTime = LocalDateTime.now();
|
lastRxTime = LocalDateTime.now();
|
||||||
if(model== GnssDevice.MODEL_G510 && bytes>100) abnormalD341Num++;
|
if(model== GnssDevice.MODEL_G510 && bytes>1400) abnormalD341Num++;
|
||||||
break;
|
break;
|
||||||
case 0xd342:
|
case 0xd342:
|
||||||
d342Count ++;
|
d342Count ++;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user