Class: AdfRadioSource<T>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavSources/AdfNavSource.ts:6
Represents an ADF radio, subscribes to the ADF SimVars.
Extends
Type Parameters
Type Parameter |
---|
T extends readonly string [] |
Constructors
Constructor
new AdfRadioSource<
T
>(bus
,name
,index
):AdfRadioSource
<T
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavSources/AdfNavSource.ts:12
Parameters
Parameter | Type |
---|---|
bus | EventBus |
name | T [number ] |
index | AdfRadioIndex |
Returns
AdfRadioSource
<T
>
Inherit Doc
Overrides
Properties
activeFrequency
readonly
activeFrequency:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:62
The active frequency that the nav source is tuned to. Only for NAV and ADF source types. NAV ACTIVE FREQUENCY, ADF ACTIVE FREQUENCY.
Inherited from
bearing
readonly
bearing:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:14
Always points to the curently tuned station or next waypoint/fix. NAV RADIAL, ADF RADIAL
Inherited from
bus
protected
readonly
bus:EventBus
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavSources/NavSourceBase.ts:18
The event bus. NavSources need to tell the publisher what to subscribe to.
Inherited from
course
readonly
course:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:20
Either points towards the next waypoint (GPS/FMS), displays the course selected by the course knob (VOR), or displays the fixed course of a localizer (ILS). NAV OBS, L:WTAP_LNav_DTK_Mag
Inherited from
distance
readonly
distance:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:43
DME, distance to the station or next waypoint.
Is null when source is NAV and hasDme
is false.
NAV DME, ADF DISTANCE, L:WTAP_LNav_DIS
Inherited from
hasDme
readonly
hasDme:Subject
<null
|boolean
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:48
Whether the source is receiving a valid DME signal. Only for NAV source types. NAV HAS DME
Inherited from
hasGlideSlope
readonly
hasGlideSlope:Subject
<null
|boolean
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:75
Whether the source is receiving glideslope information. Only for NAV source types. NAV HAS GLIDE SLOPE.
Inherited from
hasLocalizer
readonly
hasLocalizer:Subject
<null
|boolean
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:38
Whether the nav source is receiving a valid localizer signal. Only for NAV source types. NAV HAS LOCALIZER
Inherited from
hasNav
readonly
hasNav:Subject
<null
|boolean
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:57
Whether the source is receiving a nav signal. Only for NAV source types. NAV HAS NAV.
Inherited from
ident
readonly
ident:Subject
<null
|string
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:52
The ICAO ident of the station or waypoint. NAV IDENT, or flight plan
Inherited from
index
readonly
index:number
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavSources/NavSourceBase.ts:20
The index of the nav source. Ex: 1 for NAV1, or 2 for FMS2, or 1 for ADF.
Inherited from
isLocalizer
readonly
isLocalizer:Subject
<null
|boolean
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:33
Whether the tuned station is a localizer or not.
This can be true even if hasLocalizer
is false,
because this can be based on the frequency alone.
Only for NAV source types.
NAV LOCALIZER.
Inherited from
lateralDeviation
readonly
lateralDeviation:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:66
Normalized and scaled lateral deviation (-1, 1). NAV CDI, L:WTAP_LNav_XTK
Inherited from
NavSourceBase
.lateralDeviation
lateralDeviationScaling
readonly
lateralDeviationScaling:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:88
The current CDI scale, in nautical miles. Only for GPS source types. L:WTAP_LNav_CDI_Scale
Inherited from
NavSourceBase
.lateralDeviationScaling
lateralDeviationScalingLabel
readonly
lateralDeviationScalingLabel:Subject
<null
|string
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:93
A readable string/enum that shows the name of current scaling being applied to lateral deviation. Only for GPS source types. L:WTAP_LNav_CDI_Scale_Label
Inherited from
NavSourceBase
.lateralDeviationScalingLabel
localizerCourse
readonly
localizerCourse:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:26
The fixed course of a localizer when available (ILS).
Is null when hasLocalizer
is false.
Only for NAV source types.
NAV LOCALIZER
Inherited from
name
readonly
name:T
[number
]
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavSources/NavSourceBase.ts:19
The name of the nav source. Ex: NAV1, ADF, FMS2.
Inherited from
setters
protected
readonly
setters:Map
<keyofNavBaseFields
, (value
) =>void
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:110
An automatically generated map of setters to make it easy to set, sub, and unsub, getting around having to call .bind().
Inherited from
timeToGo
readonly
timeToGo:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:78
TTG, estimated time remaining until aircraft reaches next fix. // TODO Implement this
Inherited from
toFrom
readonly
toFrom:Subject
<null
|VorToFrom
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:83
Whether course is pointing TO or FROM the station (VOR), or if the aircraft heading is within 90 degress of the desired track (GPS). NAV TOFROM, // TODO FMS VAR?
Inherited from
verticalDeviation
readonly
verticalDeviation:Subject
<null
|number
>
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:70
Normalized and scaled vertical deviation (-1, 1). NAV GLIDE SLOPE ERROR, L:WTAP_VNav_Vertical_Deviation, L:WTAP_LPV_Vertical_Deviation
Inherited from
NavSourceBase
.verticalDeviation
Methods
getType()
getType():
NavSourceType
Defined in: workingtitle-instruments-wt21/shared/Navigation/NavSources/AdfNavSource.ts:33
Returns
NavSourceType