Skip to main content

Class: SelectAirwayStore

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:8

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/Shared/UI/Controllers/SelectAirwayStore.ts:15


exits

readonly exits: ArraySubject<IntersectionFacility>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:16


inputLeg

inputLeg: number = -1

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:13


inputSegment

inputSegment: number = -1

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:12


selectedAirway

selectedAirway: undefined | AirwayData

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:10


selectedExit

selectedExit: undefined | IntersectionFacility

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:11


selectedFacility

selectedFacility: undefined | IntersectionFacility

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:9


sequence

readonly sequence: ArraySubject<Subject<LegDefinition>>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:18

Methods

buildSequence()

buildSequence(fms): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:54

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/Shared/UI/Controllers/SelectAirwayStore.ts:81

Empties the display content when no facility is selected

Returns

void


getExits()

getExits(): IntersectionFacility[]

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:92

Gets the exits of the selected airway.

Returns

IntersectionFacility[]

The airway exits.


getFacilityAirways()

getFacilityAirways(): string[]

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:25

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/Shared/UI/Controllers/SelectAirwayStore.ts:43

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/Shared/UI/Controllers/SelectAirwayStore.ts:70

Sets the data to display the facility.

Parameters

ParameterTypeDescription
facilityIntersectionFacilityThe airport facility to be shown.

Returns

void