Class: G3000FmsUtils
Utility methods for the G3000 FMS.
Constructors
constructor
• new G3000FmsUtils(): G3000FmsUtils
Returns
Methods
sortApproach
▸ sortApproach(a
, b
): number
Gets the sorting order of two approaches.
Parameters
Name | Type | Description |
---|---|---|
a | ApproachProcedure | The first approach to sort. |
b | ApproachProcedure | The 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
Name | Type | Description |
---|---|---|
a | ApproachListItem | The first approach item to sort. |
b | ApproachListItem | The 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
Name | Type | Description |
---|---|---|
a | Procedure | The first arrival to sort. |
b | Procedure | The 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
Name | Type | Description |
---|---|---|
a | Procedure | The first departure to sort. |
b | Procedure | The 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
Name | Type | Description |
---|---|---|
a | OneWayRunway | The first runway to sort. |
b | OneWayRunway | The 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
Name | Type | Description |
---|---|---|
a | AirportRunway | The first runway to sort. |
b | AirportRunway | The 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