Skip to main content

Class: G3000FPLUtils

Utility methods for working with the flight plan display in the G3000.

Constructors

constructor

new G3000FPLUtils(): G3000FPLUtils

Returns

G3000FPLUtils

Methods

getFlightPlanDisplayName

getFlightPlanDisplayName(plan): string

Gets the displayed name of a flight plan.

Parameters

NameTypeDescription
planFlightPlanA flight plan.

Returns

string

The flight plan's displayed name.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/G3000FPLUtils.tsx:14

getFlightPlanDisplayName(name, originIdent, destIdent): string

Gets the displayed name of a flight plan with a given origin, destination, and saved name.

Parameters

NameTypeDescription
nameundefined | stringThe saved name of the flight plan, if any.
originIdentundefined | stringThe ident of the flight plan's origin airport, if any.
destIdentundefined | stringThe ident of the flight plan's destination airport, if any.

Returns

string

The flight plan's displayed name.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/G3000FPLUtils.tsx:22