Class

AircraftFlightPlan

USI.Core

Developer-facing flight-plan abstraction for the currently loaded aircraft. Native GPS and FMS implementations are reconciled here.

public sealed class AircraftFlightPlan : AircraftComponentNode, IAircraftFlightPlan

Methods

TryActivateDirectToWaypointAsync

public Task<USIResult> TryActivateDirectToWaypointAsync(int waypointIndex)

Activates direct-to guidance from the aircraft's present position to an existing waypoint in the loaded flight plan.

TryActivateWaypointAsync

public Task<USIResult> TryActivateWaypointAsync(int waypointIndex)

TryAppendCoordinateWaypointAsync

public Task<USIResult> TryAppendCoordinateWaypointAsync(FlightPlanCoordinateWaypoint waypoint)

Appends a user-defined coordinate waypoint to the loaded flight plan.

TryAppendFacilityWaypointAsync

public Task<USIResult> TryAppendFacilityWaypointAsync(FacilityReference facility, Length altitude)

Appends an airport, VOR, NDB, or named fix from the simulator's facility database to the loaded flight plan.

TryCancelDirectToAsync

public Task<USIResult> TryCancelDirectToAsync()

Cancels present-position direct-to guidance while retaining the current destination as the active waypoint of its normal inbound leg.

TryClearAsync

public Task<USIResult> TryClearAsync()

Clears every waypoint from the loaded flight plan.

TryDisplayWaypointAsync

public Task<USIResult> TryDisplayWaypointAsync(int waypointIndex)

Selects an existing route waypoint for display in the FMS.

TryGetAccelerationAltitudeFeetAsync

public Task<USIResult<Double>> TryGetAccelerationAltitudeFeetAsync()

Gets the planned acceleration altitude after departure, in feet.

TryGetActiveAsync

public Task<USIResult<Boolean>> TryGetActiveAsync()

Gets whether the primary navigator is flying an active plan.

TryGetActiveLegAsync

public Task<USIResult<FlightPlanActiveLeg>> TryGetActiveLegAsync()

TryGetActiveWaypointIndexAsync

public Task<USIResult<Int32>> TryGetActiveWaypointIndexAsync()

TryGetApproachNavigationReferenceAsync

public Task<USIResult<FlightPlanApproachNavigationReference>> TryGetApproachNavigationReferenceAsync()

Gets the navigation reference supplying the active final-approach solution.

TryGetBarometricHeightAboveLandingThresholdFeetAsync

public Task<USIResult<Double>> TryGetBarometricHeightAboveLandingThresholdFeetAsync()

Gets current barometric height above the active landing threshold, in feet. This is not radio altitude.

TryGetChangesPendingAsync

public Task<USIResult<Boolean>> TryGetChangesPendingAsync()

Gets whether route edits are awaiting execution in the primary flight management system.

TryGetDirectToActiveAsync

public Task<USIResult<Boolean>> TryGetDirectToActiveAsync()

Gets whether the active plan is currently using direct-to guidance.

TryGetDisplayedWaypointIndexAsync

public Task<USIResult<Int32>> TryGetDisplayedWaypointIndexAsync()

Gets the waypoint currently selected for display in the FMS.

TryGetDistanceToLandingThresholdNauticalMilesAsync

public Task<USIResult<Double>> TryGetDistanceToLandingThresholdNauticalMilesAsync()

Gets distance to the active landing threshold or its associated ILS DME, in nautical miles.

TryGetFinalApproachSegmentIdentifierAsync

public Task<USIResult<String>> TryGetFinalApproachSegmentIdentifierAsync()

Gets the identifier of the active final approach segment.

TryGetIntegratedApproachNavigationModeAsync

public Task<USIResult<IntegratedApproachNavigationMode>> TryGetIntegratedApproachNavigationModeAsync()

Gets which final-approach guidance signals are currently supplied by integrated approach navigation.

TryGetLandingThresholdIdentifierAsync

public Task<USIResult<String>> TryGetLandingThresholdIdentifierAsync()

Gets the identifier of the active landing threshold.

TryGetSelectedLandingFlapSettingIndexAsync

public Task<USIResult<Int32>> TryGetSelectedLandingFlapSettingIndexAsync()

Gets the planned landing flap-setting index.

TryGetSelectedPerformanceFlapSettingIndexAsync

public Task<USIResult<Int32>> TryGetSelectedPerformanceFlapSettingIndexAsync()

Gets the aircraft flap-setting index selected for the current takeoff or landing performance calculation. This is the planned setting, not the physical flap or cockpit-handle position.

TryGetSelectedRunwayElevationFeetAsync

public Task<USIResult<Double>> TryGetSelectedRunwayElevationFeetAsync()

Gets the barometric elevation of the selected takeoff or landing runway, in feet mean sea level.

TryGetSelectedTakeoffFlapSettingIndexAsync

public Task<USIResult<Int32>> TryGetSelectedTakeoffFlapSettingIndexAsync()

Gets the planned takeoff flap-setting index.

TryGetThrustReductionAltitudeFeetAsync

public Task<USIResult<Double>> TryGetThrustReductionAltitudeFeetAsync()

Gets the planned thrust-reduction altitude after departure, in feet.

TryGetTopOfDescentAsync

public Task<USIResult<FlightPlanTopOfDescent>> TryGetTopOfDescentAsync()

Gets the calculated top-of-descent position along the route.

TryGetTotalDistanceNauticalMilesAsync

public Task<USIResult<Double>> TryGetTotalDistanceNauticalMilesAsync()

Gets the total planned distance from the first route waypoint to the last, in nautical miles.

TryGetTransitionAltitudeFeetAsync

public Task<USIResult<Double>> TryGetTransitionAltitudeFeetAsync()

Gets the barometric transition altitude used by the active flight-management solution, in feet.

TryGetTransitionLevelFeetAsync

public Task<USIResult<Double>> TryGetTransitionLevelFeetAsync()

Gets the altitude represented by the transition level used by the active flight-management solution, in feet.

TryGetVerticalAdvisoryAsync

public Task<USIResult<FlightPlanVerticalAdvisory>> TryGetVerticalAdvisoryAsync()

Gets the current vertical-planning advisory.

TryGetVerticalPathAngleDegreesAsync

public Task<USIResult<Double>> TryGetVerticalPathAngleDegreesAsync()

Gets the active flight-management vertical path angle in degrees.

TryGetVerticalTrackErrorFeetAsync

public Task<USIResult<Double>> TryGetVerticalTrackErrorFeetAsync()

Gets signed vertical displacement from the active flight-management path in feet.

TryGetWaypointCountAsync

public Task<USIResult<Int32>> TryGetWaypointCountAsync()

TryGetWaypointsAsync

public Task<USIResult<IReadOnlyList<FlightPlanWaypoint>>> TryGetWaypointsAsync()

TryLoadFromFileAsync

public Task<USIResult> TryLoadFromFileAsync(string path)

Loads a flight plan file recognized by the selected simulator into the user aircraft's primary navigator.

TryRemoveWaypointAsync

public Task<USIResult> TryRemoveWaypointAsync(int waypointIndex)

Removes an existing waypoint from the loaded flight plan.

TryReplaceWaypointWithCoordinateAsync

public Task<USIResult> TryReplaceWaypointWithCoordinateAsync(int waypointIndex, FlightPlanCoordinateWaypoint waypoint)

Replaces an existing waypoint with a user-defined coordinate waypoint.

TryReplaceWaypointWithFacilityAsync

public Task<USIResult> TryReplaceWaypointWithFacilityAsync(int waypointIndex, FacilityReference facility, Length altitude)

Replaces an existing route entry with an airport, VOR, NDB, or named fix from the simulator's facility database.

TrySaveToFileAsync

public Task<USIResult> TrySaveToFileAsync(string path)

Saves the user aircraft's primary-navigator flight plan in a file format recognized by the selected simulator.

TrySetSelectedLandingFlapSettingIndexAsync

public Task<USIResult> TrySetSelectedLandingFlapSettingIndexAsync(int flapSettingIndex)

Selects the planned landing flap-setting index.

TrySetSelectedPerformanceFlapSettingIndexAsync

public Task<USIResult> TrySetSelectedPerformanceFlapSettingIndexAsync(int flapSettingIndex)

Selects the aircraft flap-setting index for the current takeoff or landing performance calculation.

TrySetSelectedTakeoffFlapSettingIndexAsync

public Task<USIResult> TrySetSelectedTakeoffFlapSettingIndexAsync(int flapSettingIndex)

Selects the planned takeoff flap-setting index.