Skip to main content

Class: SelectAirwayStore

The data store for SelectProcedure pages

Constructors

constructor

new SelectAirwayStore(): SelectAirwayStore

Returns

SelectAirwayStore

Properties

airways

Readonly airways: ArraySubject<string>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:13


exits

Readonly exits: ArraySubject<IntersectionFacility>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:14


inputLeg

inputLeg: number = -1

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:11


inputSegment

inputSegment: number = -1

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:10


selectedAirway

selectedAirway: undefined | AirwayObject

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:8


selectedExit

selectedExit: undefined | IntersectionFacility

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:9


selectedFacility

selectedFacility: undefined | IntersectionFacility

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:7


sequence

Readonly sequence: ArraySubject<Subject<LegDefinition>>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:16

Methods

buildSequence

buildSequence(fms): void

Builds the sequence list for the approach preview

Parameters

NameTypeDescription
fmsFms<any>is an instance of the FMS

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:52


clearFacility

clearFacility(): void

Empties the display content when no facility is selected

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:79


getExits

getExits(): IntersectionFacility[]

Gets the exits of the selected airway.

Returns

IntersectionFacility[]

The airway exits.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:90


getFacilityAirways

getFacilityAirways(): string[]

Gets the airways array for this facility.

Returns

string[]

The an array of unique airway names.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:23


loadAirway

loadAirway(airwayName, facLoader): Promise<void>

Gets the airway.

Parameters

NameTypeDescription
airwayNamestringis the name of the airway as a string.
facLoaderFacilityLoaderis an instance of the facility loader.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:41


loadFacility

loadFacility(facility): void

Sets the data to display the facility.

Parameters

NameTypeDescription
facilityIntersectionFacilityThe airport facility to be shown.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectAirwayStore.ts:68