Skip to main content

Class: G3000FmsUtils

Utility methods for the G3000 FMS.

Constructors

constructor

new G3000FmsUtils(): G3000FmsUtils

Returns

G3000FmsUtils

Methods

sortApproach

sortApproach(a, b): number

Gets the sorting order of two approaches.

Parameters

NameTypeDescription
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.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/G3000FmsUtils.ts:100


sortApproachItem

sortApproachItem(a, b): number

Gets the sorting order of two approach items.

Parameters

NameTypeDescription
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.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/G3000FmsUtils.ts:126


sortArrival

sortArrival(a, b): number

Gets the sorting order of two arrivals.

Parameters

NameTypeDescription
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.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/G3000FmsUtils.ts:89


sortDeparture

sortDeparture(a, b): number

Gets the sorting order of two departures.

Parameters

NameTypeDescription
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.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/G3000FmsUtils.ts:78


sortOneWayRunway

sortOneWayRunway(a, b): number

Gets the sorting order of two one-way runways.

Parameters

NameTypeDescription
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.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/G3000FmsUtils.ts:61


sortRunway

sortRunway(a, b): number

Gets the sorting order of two runways.

Parameters

NameTypeDescription
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.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/G3000FmsUtils.ts:41