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()
staticsortApproach(a,b):number
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:100
Gets the sorting order of two approaches.
Parameters
| Parameter | 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.
sortApproachItem()
staticsortApproachItem(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
| Parameter | 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.
sortArrival()
staticsortArrival(a,b):number
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:89
Gets the sorting order of two arrivals.
Parameters
| Parameter | 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.
sortDeparture()
staticsortDeparture(a,b):number
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:78
Gets the sorting order of two departures.
Parameters
| Parameter | 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.
sortOneWayRunway()
staticsortOneWayRunway(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
| Parameter | 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.
sortRunway()
staticsortRunway(a,b):number
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/G3000FmsUtils.ts:41
Gets the sorting order of two runways.
Parameters
| Parameter | 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.