Skip to main content

Class: SelectAirwayStore

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

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

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

Builds the sequence list for the approach preview

Parameters​

ParameterTypeDescription
fmsFmsis an instance of the FMS

Returns​

void


clearFacility()​

clearFacility(): void

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

Empties the display content when no facility is selected

Returns​

void


getExits()​

getExits(): IntersectionFacility[]

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

Gets the exits of the selected airway.

Returns​

IntersectionFacility[]

The airway exits.


getFacilityAirways()​

getFacilityAirways(): string[]

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

Gets the airways array for this facility.

Returns​

string[]

The an array of unique airway names.


loadAirway()​

loadAirway(airwayName, facLoader): Promise<void>

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

Gets the airway.

Parameters​

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

Returns​

Promise<void>


loadFacility()​

loadFacility(facility): void

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

Sets the data to display the facility.

Parameters​

ParameterTypeDescription
facilityIntersectionFacilityThe airport facility to be shown.

Returns​

void