增加卫星数统计
This commit is contained in:
parent
c02c085291
commit
f9be86382b
@ -57,14 +57,15 @@ public class D3F2StopIndicationMessageExecutor implements Executor<D3F2StopIndic
|
||||
LocalDateTime uploadTime = multiLineGNSSCalcService.checkUploadTime(
|
||||
device.getDeviceId(), device.getTenantId());
|
||||
dataPersistService.saveDeviceTrxStat(message, (uploadTime!=null), device.getSatelitesInUse());
|
||||
device.setSatelitesInUse(0);
|
||||
// 通知beidou服务设备休眠
|
||||
beidouClient.onDeviceStop(deviceId,device.getTenantId());
|
||||
if(uploadTime!=null){
|
||||
beidouClient.onGnssUpload(deviceId,device.getTenantId(),uploadTime);
|
||||
}
|
||||
// 检查告警
|
||||
if(device.getDeviceType() == Device.DEVICE_BASE_STATION) {
|
||||
warningService.checkD3xxNum(device);
|
||||
}
|
||||
});
|
||||
|
||||
return null;
|
||||
|
||||
@ -58,6 +58,9 @@ public class WarningServiceImpl implements WarningService {
|
||||
}
|
||||
|
||||
GnssStatus status = gnssStatusMapper.getByDeviceId(deviceId);
|
||||
// 清除d331告警
|
||||
status.setWarningcode(status.getWarningcode() & ~WarningCfg.TYPE_LESS_D3XX);
|
||||
|
||||
if(0 == numB562Stat[0]){
|
||||
// 记录连续无固定解的轮数
|
||||
if(status != null){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user