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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | An event bus. |
planner | FlightPlanner | The flight planner. |
Returns
LNavNavSource
Properties
activeCdi
readonlyactiveCdi:false=false
Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:34
Whether this is an active CDI source.
Implementation of
hasCdi
readonlyhasCdi:true=true
Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:29
Whether this source provides course deviation information.
Implementation of
hasDme
readonlyhasDme:true=true
Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:30
Whether the source provides DME info.
Implementation of
hasGlideslope
readonlyhasGlideslope:false=false
Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:31
Whether the source has glideslope info.
Implementation of
hasLocalizer
readonlyhasLocalizer:false=false
Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:32
Whether the source has localizer info.
Implementation of
isLocalizerFrequency
readonlyisLocalizerFrequency: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
readonlysignal:null=null
Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:33
The nav signal strength.
Implementation of
srcId
readonlysrcId:NavSourceId
Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:28
The ID of the source.
Implementation of
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
| Parameter | Type |
|---|---|
active | boolean |
Returns
void
Whether this is an active bearing source.
Implementation of
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
| Parameter | Type | Description |
|---|---|---|
brg | number | null | The bearing in degrees. |
Returns
void
The bearing to this source.
Implementation of
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
| Parameter | Type | Description |
|---|---|---|
dist | number | null | The distance in nm or null. |
Returns
void
Distance to the source.
Implementation of
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
| Parameter | Type | Description |
|---|---|---|
ident | string | null | The ident as a string or null. |
Returns
void
The ident for this source.
Implementation of
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
| Parameter | Type | Description |
|---|---|---|
valid | boolean | Whether the source is valid. |
Returns
void
Whether the source info is valed.
Implementation of
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
| Parameter | Type |
|---|---|
brg | number | null |
source | NavSourceId |
Returns
void
Implementation of
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
| Parameter | Type |
|---|---|
dist | number | null |
source | NavSourceId |
Returns
void
Implementation of
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
| Parameter | Type |
|---|---|
ident | string | null |
source | NavSourceId |
Returns
void
Implementation of
validHander()
validHander(
valid,source):void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/NavProcessorConfig.ts:39
Parameters
| Parameter | Type |
|---|---|
valid | boolean |
source | NavSourceId |
Returns
void