Skip to main content

Class: G3000FmsUtils

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:7

Utility methods for the G3000 FMS.

Constructors

Constructor

new G3000FmsUtils(): G3000FmsUtils

Returns

G3000FmsUtils

Methods

sortApproach()

static sortApproach(a, b): number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:100

Gets the sorting order of two approaches.

Parameters

ParameterTypeDescription
aApproachProcedureThe first approach to sort.
bApproachProcedureThe second approach to sort.

Returns

number

A negative number if approach a comes before approach b, a positive number if approach a comes after approach b, or zero if both orderings are equivalent.


sortApproachItem()

static sortApproachItem(a, b): number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:126

Gets the sorting order of two approach items.

Parameters

ParameterTypeDescription
aApproachListItemThe first approach item to sort.
bApproachListItemThe second approach item to sort.

Returns

number

A negative number if approach item a comes before approach item b, a positive number if approach item a comes after approach item b, or zero if both orderings are equivalent.


sortArrival()

static sortArrival(a, b): number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:89

Gets the sorting order of two arrivals.

Parameters

ParameterTypeDescription
aProcedureThe first arrival to sort.
bProcedureThe second arrival to sort.

Returns

number

A negative number if arrival a comes before arrival b, a positive number if arrival a comes after arrival b, or zero if both orderings are equivalent.


sortDeparture()

static sortDeparture(a, b): number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:78

Gets the sorting order of two departures.

Parameters

ParameterTypeDescription
aProcedureThe first departure to sort.
bProcedureThe second departure to sort.

Returns

number

A negative number if departure a comes before departure b, a positive number if departure a comes after departure b, or zero if both orderings are equivalent.


sortOneWayRunway()

static sortOneWayRunway(a, b): number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:61

Gets the sorting order of two one-way runways.

Parameters

ParameterTypeDescription
aOneWayRunwayThe first runway to sort.
bOneWayRunwayThe second runway to sort.

Returns

number

A negative number if runway a comes before runway b, a positive number if runway a comes after runway b, or zero if both orderings are equivalent.


sortRunway()

static sortRunway(a, b): number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:41

Gets the sorting order of two runways.

Parameters

ParameterTypeDescription
aAirportRunwayThe first runway to sort.
bAirportRunwayThe second runway to sort.

Returns

number

A negative number if runway a comes before runway b, a positive number if runway a comes after runway b, or zero if both orderings are equivalent.