Class: NavBaseFields
Defined in: wtlinesdk/navigation/NavBase.ts:11
These are the fields that should be exposed by NavSources and NavIndicators. Not all fields will be used by all the different Nav Sources. To add a new field, just add it to NavBaseFields, then add some code to each of the different NavSources to keep that field updated. Don't use this class directly. Every Subject should be able to be set to null, so that when the source is set to null, all the fields cna be nulled. This isn't abstract so that we can instantiate it in one place to help generate setters.
Extended by
Constructors
Constructor
new NavBaseFields():
NavBaseFields
Returns
NavBaseFields
Properties
activeFrequency
readonlyactiveFrequency:Subject<null|number>
Defined in: wtlinesdk/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.
bearing
readonlybearing:Subject<null|number>
Defined in: wtlinesdk/navigation/NavBase.ts:14
Always points to the curently tuned station or next waypoint/fix. NAV RADIAL, ADF RADIAL
course
readonlycourse:Subject<null|number>
Defined in: wtlinesdk/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
distance
readonlydistance:Subject<null|number>
Defined in: wtlinesdk/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
hasDme
readonlyhasDme:Subject<null|boolean>
Defined in: wtlinesdk/navigation/NavBase.ts:48
Whether the source is receiving a valid DME signal. Only for NAV source types. NAV HAS DME
hasGlideSlope
readonlyhasGlideSlope:Subject<null|boolean>
Defined in: wtlinesdk/navigation/NavBase.ts:75
Whether the source is receiving glideslope information. Only for NAV source types. NAV HAS GLIDE SLOPE.
hasLocalizer
readonlyhasLocalizer:Subject<null|boolean>
Defined in: wtlinesdk/navigation/NavBase.ts:38
Whether the nav source is receiving a valid localizer signal. Only for NAV source types. NAV HAS LOCALIZER
hasNav
readonlyhasNav:Subject<null|boolean>
Defined in: wtlinesdk/navigation/NavBase.ts:57
Whether the source is receiving a nav signal. Only for NAV source types. NAV HAS NAV.
ident
readonlyident:Subject<null|string>
Defined in: wtlinesdk/navigation/NavBase.ts:52
The ICAO ident of the station or waypoint. NAV IDENT, or flight plan
isLocalizer
readonlyisLocalizer:Subject<null|boolean>
Defined in: wtlinesdk/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.
lateralDeviation
readonlylateralDeviation:Subject<null|number>
Defined in: wtlinesdk/navigation/NavBase.ts:66
Normalized and scaled lateral deviation (-1, 1). NAV CDI, L:WTAP_LNav_XTK
lateralDeviationScaling
readonlylateralDeviationScaling:Subject<null|number>
Defined in: wtlinesdk/navigation/NavBase.ts:88
The current CDI scale, in nautical miles. Only for GPS source types. L:WTAP_LNav_CDI_Scale
lateralDeviationScalingLabel
readonlylateralDeviationScalingLabel:Subject<null|string>
Defined in: wtlinesdk/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
localizerCourse
readonlylocalizerCourse:Subject<null|number>
Defined in: wtlinesdk/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
timeToGo
readonlytimeToGo:Subject<null|number>
Defined in: wtlinesdk/navigation/NavBase.ts:78
TTG, estimated time remaining until aircraft reaches next fix. // TODO Implement this
toFrom
Defined in: wtlinesdk/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?
verticalDeviation
readonlyverticalDeviation:Subject<null|number>
Defined in: wtlinesdk/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