Skip to main content

Class: DirectToStore

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

The store for the DTO view

Constructors​

Constructor​

new DirectToStore(planePos): DirectToStore

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/DirectTo/DirectToStore.ts:28

Constructor.

Parameters​

ParameterTypeDescription
planePosSubscribable<GeoPointInterface>A subscribable which provides the current airplane position for this store.

Returns​

DirectToStore

Properties​

course​

readonly course: Subject<undefined | number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/DirectTo/DirectToStore.ts:9


courseInputValue​

readonly courseInputValue: Subject<number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/DirectTo/DirectToStore.ts:8


planePos​

readonly planePos: Subscribable<GeoPointInterface>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/DirectTo/DirectToStore.ts:28

A subscribable which provides the current airplane position for this store.


waypointInfoStore​

readonly waypointInfoStore: WaypointInfoStore

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/DirectTo/DirectToStore.ts:7

Accessors​

matchedWaypoints​

Get Signature​

get matchedWaypoints(): readonly FacilityWaypoint<Facility>[]

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/DirectTo/DirectToStore.ts:20

An array of waypoints which have matched the input.

Returns​

readonly FacilityWaypoint<Facility>[]


waypoint​

Get Signature​

get waypoint(): Subject<null | Waypoint>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/DirectTo/DirectToStore.ts:13

A subject which provides this store's selected waypoint.

Returns​

Subject<null | Waypoint>

Methods​

setMatchedWaypoints()​

setMatchedWaypoints(waypoints): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/DirectTo/DirectToStore.ts:36

Set the list of matched waypoints.

Parameters​

ParameterTypeDescription
waypointsreadonly FacilityWaypoint<Facility>[]An array of matched waypoints.

Returns​

void