Skip to main content

Class: DirectToStore

The store for the DTO view

Constructors

constructor

new DirectToStore(planePos): DirectToStore

Constructor.

Parameters

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

Returns

DirectToStore

Defined in

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

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>

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

Defined in

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


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 matchedWaypoints(): readonly FacilityWaypoint<Facility>[]

An array of waypoints which have matched the input.

Returns

readonly FacilityWaypoint<Facility>[]

Defined in

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


waypoint

get waypoint(): Subject<null | Waypoint>

A subject which provides this store's selected waypoint.

Returns

Subject<null | Waypoint>

Defined in

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

Methods

setMatchedWaypoints

setMatchedWaypoints(waypoints): void

Set the list of matched waypoints.

Parameters

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

Returns

void

Defined in

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