Skip to main content

Class: G3000FPLUtils

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FPLUtils.tsx:8

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

Constructors​

Constructor​

new G3000FPLUtils(): G3000FPLUtils

Returns​

G3000FPLUtils

Methods​

getFlightPlanDisplayName()​

Call Signature​

static getFlightPlanDisplayName(plan): string

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FPLUtils.tsx:14

Gets the displayed name of a flight plan.

Parameters​
ParameterTypeDescription
planFlightPlanA flight plan.
Returns​

string

The flight plan's displayed name.

Call Signature​

static getFlightPlanDisplayName(name, originIdent, destIdent): string

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FPLUtils.tsx:22

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

Parameters​
ParameterTypeDescription
namestring | undefinedThe saved name of the flight plan, if any.
originIdentstring | undefinedThe ident of the flight plan's origin airport, if any.
destIdentstring | undefinedThe ident of the flight plan's destination airport, if any.
Returns​

string

The flight plan's displayed name.