添加备降点数据
This commit is contained in:
parent
a3347f2983
commit
fcd6628923
|
|
@ -147,6 +147,15 @@ public class BufferDeviceImpl implements IBufferDeviceService
|
|||
dto.setDockStatus(dockStatus);
|
||||
});
|
||||
|
||||
// 设置备降点坐标数据
|
||||
// 备降点经度
|
||||
telemetryMap.get(DeviceTelemetry.Alternate_land_point_Longitude)
|
||||
.ifPresent(telemetryValue -> dto.setBackupLongitude(telemetryValue.getValue()));
|
||||
|
||||
// 备降点纬度
|
||||
telemetryMap.get(DeviceTelemetry.Alternate_land_point_Latitude)
|
||||
.ifPresent(telemetryValue -> dto.setBackupLatitude(telemetryValue.getValue()));
|
||||
|
||||
return dto;
|
||||
}
|
||||
|
||||
|
|
@ -189,6 +198,8 @@ public class BufferDeviceImpl implements IBufferDeviceService
|
|||
String aircraftStatus = determineAircraftStatus(attributeMap, telemetryMap);
|
||||
dto.setAircraftStatus(aircraftStatus);
|
||||
|
||||
|
||||
|
||||
return dto;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue