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