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
staticgetFlightPlanDisplayName(plan):string
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FPLUtils.tsx:14
Gets the displayed name of a flight plan.
Parameters
| Parameter | Type | Description |
|---|---|---|
plan | FlightPlan | A flight plan. |
Returns
string
The flight plan's displayed name.
Call Signature
staticgetFlightPlanDisplayName(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
| Parameter | Type | Description |
|---|---|---|
name | undefined | string | The saved name of the flight plan, if any. |
originIdent | undefined | string | The ident of the flight plan's origin airport, if any. |
destIdent | undefined | string | The ident of the flight plan's destination airport, if any. |
Returns
string
The flight plan's displayed name.