Skip to main content

Class: LNavNavSource

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:27

A custom nav data source that provides info from our flight plan manager.

Implements

Constructors

Constructor

new LNavNavSource(bus, planner): LNavNavSource

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:59

Create an LNavNavSource.

Parameters

ParameterTypeDescription
busEventBusAn event bus.
plannerFlightPlannerThe flight planner.

Returns

LNavNavSource

Properties

activeCdi

readonly activeCdi: false = false

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:34

Whether this is an active CDI source.

Implementation of

NavSource.activeCdi


hasCdi

readonly hasCdi: true = true

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:29

Whether this source provides course deviation information.

Implementation of

NavSource.hasCdi


hasDme

readonly hasDme: true = true

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:30

Whether the source provides DME info.

Implementation of

NavSource.hasDme


hasGlideslope

readonly hasGlideslope: false = false

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:31

Whether the source has glideslope info.

Implementation of

NavSource.hasGlideslope


hasLocalizer

readonly hasLocalizer: false = false

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:32

Whether the source has localizer info.

Implementation of

NavSource.hasLocalizer


isLocalizerFrequency

readonly isLocalizerFrequency: false = false

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:35

Whether the source is a localizer frequency.

Implementation of

NavSource.isLocalizerFrequency


signal

readonly signal: null = null

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:33

The nav signal strength.

Implementation of

NavSource.signal


srcId

readonly srcId: NavSourceId

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:28

The ID of the source.

Implementation of

NavSource.srcId

Accessors

activeBrg

Get Signature

get activeBrg(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:155

Get active bearing status.

Returns

boolean

Whether we are active for bearing data.

Set Signature

set activeBrg(active): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:162

Set active bearing status.

Parameters
ParameterType
activeboolean
Returns

void

Whether this is an active bearing source.

Implementation of

NavSource.activeBrg


bearing

Get Signature

get bearing(): number | null

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:115

Get the bearing to the current waypoint.

Returns

number | null

The bearing in degrees or null.

Set Signature

set bearing(brg): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:123

Set the bearing to the current waypoint.

Parameters
ParameterTypeDescription
brgnumber | nullThe bearing in degrees.
Returns

void

The bearing to this source.

Implementation of

NavSource.bearing


distance

Get Signature

get distance(): number | null

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:98

Get the distance to the active waypoint.

Returns

number | null

The distance in nm or null.

Set Signature

set distance(dist): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:106

Set the tistance to the active waypoint.

Parameters
ParameterTypeDescription
distnumber | nullThe distance in nm or null.
Returns

void

Distance to the source.

Implementation of

NavSource.distance


ident

Get Signature

get ident(): string | null

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:132

Get the ident of the current waypoint.

Returns

string | null

The ident as a string or null.

Set Signature

set ident(ident): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:140

Set the ident of the current waypoint.

Parameters
ParameterTypeDescription
identstring | nullThe ident as a string or null.
Returns

void

The ident for this source.

Implementation of

NavSource.ident


valid

Get Signature

get valid(): boolean

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:81

Get the validity of the source.

Returns

boolean

Whether the source is valid.

Set Signature

set valid(valid): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:89

Set the validity of the source.

Parameters
ParameterTypeDescription
validbooleanWhether the source is valid.
Returns

void

Whether the source info is valed.

Implementation of

NavSource.valid

Methods

brgHandler()

brgHandler(brg, source): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:43

A handler to call when the bearing to the source changes.

Parameters

ParameterType
brgnumber | null
sourceNavSourceId

Returns

void

Implementation of

NavSource.brgHandler


distHandler()

distHandler(dist, source): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:45

A handler to call when the distance to the source changes.

Parameters

ParameterType
distnumber | null
sourceNavSourceId

Returns

void

Implementation of

NavSource.distHandler


identHandler()

identHandler(ident, source): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:41

A handler to call when the source ident changes.

Parameters

ParameterType
identstring | null
sourceNavSourceId

Returns

void

Implementation of

NavSource.identHandler


validHander()

validHander(valid, source): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:39

Parameters

ParameterType
validboolean
sourceNavSourceId

Returns

void