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
readonlyairways:ArraySubject<string>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectAirwayStore.ts:15
exits
readonlyexits: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
readonlysequence: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
| Parameter | Type | Description |
|---|---|---|
fms | Fms | is 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
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
| Parameter | Type | Description |
|---|---|---|
airwayName | string | is the name of the airway as a string. |
facLoader | FacilityLoader | is 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
| Parameter | Type | Description |
|---|---|---|
facility | IntersectionFacility | The airport facility to be shown. |
Returns
void