@microsoft/msfs-wt21-shared
Enumerations
- BottomSectionVersion
- CDIScaleLabel
- CabinLightsMode
- CheckBoxNumericStyle
- DcpEvent
- DisplayUnitLayout
- EngineIndicationDisplayMode
- FMS_MESSAGE_ID
- FmcSimVars
- GpwsOperatingMode
- GuiHEvent
- MESSAGE_LEVEL
- MESSAGE_TARGET
- MFDUpperWindowState
- MapWaypointsDisplay
- MfdDisplayMode
- RadioListStyle
- RefSpeedType
- TcasOperatingModeSetting
- VSpeedType
- VorTuningMode
- WT21DisplayUnitType
- WT21LNavDataVars
- WT21LegDefinitionFlags
- WT21MapWaypointIconPriority
- WT21MfdTextPage
Classes
- ADCSystem
- AOASystem
- ActiveWaypointIcon
- AdfRadioSource
- AhrsSystem
- BearingPointerDataFields
- BottomSectionContainer
- BottomSectionVer1
- BottomSectionVer2
- BottomSectionVer3
- COMReceiverSystem
- CheckBox
- CheckBoxNumeric
- CheckBoxSelect
- CompassRose
- DcpController
- DcpEventPublisher
- DcpHEvents
- DefaultsUserSettings
- DisplayUnitConfig
- ElapsedTime
- ElapsedTimeDisplay
- FgpUserSettings
- FixInfoFacilityWaypoint
- FlightPathWaypointLabel
- FloatingRadioItem
- FloatingRadioList
- FmcSimVarPublisher
- FmcUserSettings
- FormatSwitch
- FuelTempSystemSimple
- GpsSource
- Gpws
- GuiDialog
- HSIArc
- HSIArcHeadingVector
- HSIBearingPointer
- HSIContainer
- HSICourseNeedle
- HSIGhostNeedle
- HSIHeadingBug
- HSIPlan
- HSIRose
- HSITcas
- HSITrackPointer
- LeftInfoPanel
- MFDUserSettings
- MagnetometerSystem
- MapAltitudeArcController
- MapDesAdvisoryLabelFactory
- MapFacilitySelectModule
- MapFixInfoIconFactory
- MapFixInfoWaypointIcon
- MapFormatController
- MapFormatSupportMatrix
- MapRangeController
- MapSelectWaypointLayer
- MapSystemCommon
- MapSystemConfig
- MapTerrainColorsController
- MapTerrainStateModule
- MapTodIcon
- MapTodIconFactory
- MapTodLabelFactory
- MapTodLayer
- MapTrafficController
- MapTrafficIntruderIcon
- MapUserSettings
- MenuContainer
- MenuViewService
- Message
- MessageConditionChecks
- MessageDefinition
- MessageDefinitions
- MessageManager
- MessageService
- MinimumsDisplay
- NavBase
- NavBaseFields
- NavIndicator
- NavIndicatorAnimator
- NavIndicators
- NavRadioNavSource
- NavSourceBase
- NavSourceDataField
- NavSourcePreset
- NavSources
- NextradInfo
- NumericInput
- OperatingMessage
- PFDUserSettings
- PerformancePlan
- PerformancePlanProxy
- PerformancePlanRepository
- PfdMessage
- PfdMessageReceiver
- PlanFormatController
- PopupMenu
- PopupMenuSection
- PopupSubMenu
- ProxiedPerformancePlanProperty
- RASystem
- RadioBox
- RadioBoxNumeric
- RadioBoxSelect
- RadioList
- RefsUserSettings
- RightInfoPanel
- SelectInput
- SubmenuLink
- TDRSystem
- TSSSystem
- TcasFlag
- TerrWxInfo
- TfcInfo
- TrafficUserSettings
- VSpeedUserSettings
- WT21AlternatePredictor
- WT21AvionicsPlugin
- WT21BearingPointerNavIndicator
- WT21CabinLightsSystem
- WT21ControlPublisher
- WT21CourseNeedleNavIndicator
- WT21DisplayUnitFsInstrument
- WT21ElectricalSetup
- WT21FixInfoCalculator
- WT21FixInfoManager
- WT21FmsUtils
- WT21GhostNeedleNavIndicator
- WT21LNavDataSimVarPublisher
- WT21MapKeys
- WT21MapStylesModule
- WT21NavigationUserSettings
- WT21SettingSaveManager
- WT21TCAS
- WT21TCASTransponderManager
- WT21UiControl
- WT21UnitsUtils
- WT21UserSettings
- WT21VNavManager
- WT21VnavUtils
- WT21XmlAuralsConfig
- WT21_PFD_MFD_Colors
- WT21_PFD_MsgInfo
- WaypointAlerter
- WaypointDisplayController
- WindVector
Interfaces
- ADCSystemEvents
- AHRSSystemEvents
- AOASystemEvents
- AoAFlapsDefinition
- ApproachPerformanceResults
- BearingDistPredictions
- COMReceiverSystemEvents
- CyclicRadioListProps
- DcpEvents
- DesAdvisoryDetails
- DisplayUnitConfigInterface
- FlightPlanIntersection
- FloatingRadioItemProps
- FmaData
- FmcSimVarEvents
- FmsPosEvents
- FormatInfoProps
- FuelTempEvents
- GpwsEvents
- GpwsModule
- GuiDialogProps
- IMessageReceiver
- LatLonPredictions
- MagnetometerSystemEvents
- MapAltitudeArcControllerModules
- MapFormatControllerLayers
- MapFormatControllerModules
- MapSelectWaypointLayerModules
- MapSelectWaypointLayerProps
- MapTerrainColorsControllerModules
- MapTodLayerProps
- MapTrafficControllerModules
- MemButtonState
- MessageManagerControlEvents
- MfdIndexEvents
- NavIndicatorControlFields
- PerformancePlanData
- PfdMessageEvents
- PfdMessagePacket
- PfdMessagePresentationInfo
- PlanFormatControllerContext
- PlanFormatControllerModules
- PlanMapCenterRequest
- PlanMapEvents
- PopupMenuProps
- RASystemEvents
- TDRSystemEvents
- TSSSystemEvents
- TakeoffPerformanceCalculatorResults
- TransitionListItem
- WT21ControlEvents
- WT21FixInfoCalculatedData
- WT21FixInfoData
- WT21FixInfoEvents
- WT21FixInfoFlightPlanData
- WT21FixInfoMarker
- WT21FixInfoOptions
- WT21FixInfoWaypoint
- WT21LNavDataSimVarEvents
- WT21MapStyles
- WT21MfdApprPerfOutputs
- WT21MfdTextPageEvents
- WT21MfdToPerfOutputs
- WT21PluginBinder
- WT21UiControlProps
- WT21VNavDataEvents
- WaypointDisplayControllerModules
- WindEntry
Type Aliases
AOAFormat
Ƭ AOAFormat: typeof aoaFormatOptions
[number
]
A format for the AOA component.
Defined in
workingtitle-instruments-wt21/shared/Profiles/PFDUserSettings.ts:4
ApproachDetails
Ƭ ApproachDetails: Object
FMS Approach Details
Type declaration
Name | Type | Description |
---|---|---|
approachIsActive | boolean | Whether the approach is active |
approachIsCircling | boolean | Whether the approach is circling |
approachLoaded | boolean | Whether an approach is loaded. |
approachRnavType | RnavTypeFlags | The Approach RNAV Type |
approachType | ExtendedApproachType | The Approach Type |
referenceFacility | VorFacility | null | The reference navaid for the approach |
Defined in
workingtitle-instruments-wt21/shared/Systems/FMS/WT21FmsTypes.ts:14
ApproachNameParts
Ƭ ApproachNameParts: Object
A type representing the three parts of an approach name.
Type declaration
Name | Type | Description |
---|---|---|
flags? | string | Additonal flags (eg, RNAV type) |
runway? | string | The runway identifier. |
suffix? | string | The approach suffix |
transition? | string | The approach transition name. |
type | string | The approach type. |
Defined in
workingtitle-instruments-wt21/shared/Systems/FMS/WT21FmsUtils.ts:1349
DefaultsSettings
Ƭ DefaultsSettings: { readonly [Item in typeof defaultsSettings[number] as Item["name"]]: Item["defaultValue"] }
Generates the UserSettingDefinition type based on the settings object
Defined in
workingtitle-instruments-wt21/shared/Profiles/DefaultsUserSettings.ts:88
ElapsedTimeState
Ƭ ElapsedTimeState: "Off"
| "Started"
| "Stopped"
Defined in
workingtitle-instruments-wt21/shared/DCP/ElapsedTime.ts:7
FgpSettings
Ƭ FgpSettings: { readonly [Item in typeof fgpSettings[number] as Item["name"]]: Item["defaultValue"] }
Generates the UserSettingDefinition type based on the settings object
Defined in
workingtitle-instruments-wt21/shared/Profiles/FgpUserSettings.ts:34
FmcSettingsManagerType
Ƭ FmcSettingsManagerType: Object
Type description for pfd user settings
Type declaration
Name | Type | Description |
---|---|---|
baroHpa | boolean | The baro unit setting. |
flightNumber | string | The flight number setting. |
simbriefPilotId | number | The setting for simbrief pilot id. |
Defined in
workingtitle-instruments-wt21/shared/Profiles/FmcUserSettings.ts:6
GpwsData
Ƭ GpwsData: Object
Data provided by GPWS to modules.
Type declaration
Name | Type | Description |
---|---|---|
geoAltitude | number | The current geometric altitude of the airplane, in feet. |
geoVerticalSpeed | number | The current geometric vertical speed of the airplane, in feet per minute. |
gpsPos | GeoPointReadOnly | The current GPS position of the airplane. |
isGsGpActive | boolean | Whether the autopilot GS or GP mode is active. |
isOnGround | boolean | Whether the airplane is on the ground. |
isPosValid | boolean | Whether GPWS has a valid position fix. |
isRadarAltitudeValid | boolean | Whether GPWS has a valid radar altitude. |
nearestRunwayAltitude | number | null | The altitude of the nearest runway, in feet, or null if nearest runway data are not available. |
radarAltitude | number | The current radar altitude of the airplane, in feet. |
Defined in
workingtitle-instruments-wt21/shared/Systems/gpws/GpwsModule.ts:8
GuiUiControlEvents
Ƭ GuiUiControlEvents: Record
<GuiHEvent
, UiControlEventHandler
<WT21UiControl
>>
HardwareUiControl events for GUI interaction H events.
Defined in
workingtitle-instruments-wt21/shared/UI/WT21UiControl.tsx:10
HSIFormat
Ƭ HSIFormat: typeof hsiFormatsAll
[number
]
A format for the HSI compass.
Defined in
workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:6
HSITickDirection
Ƭ HSITickDirection: "Inwards"
| "Outwards"
Direction that ticks should point on a compass rose.
Defined in
workingtitle-instruments-wt21/shared/LowerSection/HSI/HSICommon.tsx:23
MFDSettings
Ƭ MFDSettings: { readonly [Item in typeof mfdSettings[number] as Item["name"]]: Item["defaultValue"] }
Generates the UserSettingDefinition type based on the settings object
Defined in
workingtitle-instruments-wt21/shared/Profiles/MFDUserSettings.tsx:169
MFDSettingsAliased
Ƭ MFDSettingsAliased: { readonly [Item in typeof mfdSettingsAliased[number] as Item["name"]]: Item["defaultValue"] }
Generates the UserSettingDefinition type based on the settings object
Defined in
workingtitle-instruments-wt21/shared/Profiles/MFDUserSettings.tsx:174
MapFixInfoWaypointIconOptions
Ƭ MapFixInfoWaypointIconOptions: Object
Initialization options for a MapFixInfoWaypointIcon.
Type declaration
Name | Type | Description |
---|---|---|
outlineColor | string | The color of the outline for the ring. |
outlineWidth | number | The width of the outline for the ring, in pixels. |
strokeColor | string | The color of the stroke for the ring. |
strokeWidth | number | The width of the stroke for the ring, in pixels. |
Defined in
workingtitle-instruments-wt21/shared/Map/MapTod.ts:89
MapRange
Ƭ MapRange: typeof mapRanges
[number
]
A format for the HSI compass.
Defined in
workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:12
MapSettings
Ƭ MapSettings: { readonly [Item in typeof mapSettings[number] as Item["name"]]: Item["defaultValue"] }
Type definitions for all map settings.
Defined in
workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:183
MapSettingsMfdAliased
Ƭ MapSettingsMfdAliased: { readonly [Item in typeof mapSettingsMfdAliased[number] as Item["name"]]: Item["defaultValue"] }
Type definitions for aliased PFD/MFD map settings.
Defined in
workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:193
MapSettingsPfdAliased
Ƭ MapSettingsPfdAliased: { readonly [Item in typeof mapSettingsPfdAliased[number] as Item["name"]]: Item["defaultValue"] }
Type definitions for aliased PFD/MFD map settings.
Defined in
workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:188
NavBaseControlEvents
Ƭ NavBaseControlEvents<Prefix
, T
>: { readonly [Item in Extract<keyof T, string> as `${Prefix}_set_${Item}`]: T[Item] }
Generates control event types for each field.
Type parameters
Name | Type |
---|---|
Prefix | extends string |
T | extends Object |
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:102
NavBaseEvents
Ƭ NavBaseEvents<Prefix
, T
>: { readonly [Item in Extract<keyof T, string> as `${Prefix}_${Item}`]: ExtractSubjectType<T[Item]> }
Generates event types for each field.
Type parameters
Name | Type |
---|---|
Prefix | extends string |
T | extends NavBaseFields |
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavBase.ts:97
NavIndicatorControlEvents
Ƭ NavIndicatorControlEvents<NavSourceNames
, IndicatorNames
, Indicator
, Fields
>: NavBaseControlEvents
<`nav_ind_${Indicator}`, Fields
& NavIndicatorControlFields
<NavSourceNames
>>
Control events for changing field values of a NavIndicator.
Type parameters
Name | Type |
---|---|
NavSourceNames | extends readonly string [] |
IndicatorNames | extends readonly string [] |
Indicator | extends IndicatorNames [number ] |
Fields | extends Object = {} |
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavIndicators/NavIndicators.ts:21
NavIndicatorEvents
Ƭ NavIndicatorEvents<T
, Indicator
>: NavBaseEvents
<`nav_ind_${Indicator}`, NavIndicatorFields
<T
>>
Field changed events for NavIndicator fields.
Type parameters
Name | Type |
---|---|
T | extends readonly string [] |
Indicator | extends string [number ] |
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavIndicators/NavIndicators.ts:17
PFDSettings
Ƭ PFDSettings: { readonly [Item in typeof pfdSettings[number] as Item["name"]]: Item["defaultValue"] }
Generates the UserSettingDefinition type based on the settings object
Defined in
workingtitle-instruments-wt21/shared/Profiles/PFDUserSettings.ts:30
PfdOrMfd
Ƭ PfdOrMfd: "PFD"
| "MFD"
Defined in
workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:15
RefsSettings
Ƭ RefsSettings: { readonly [Item in typeof refsSettings[number] as Item["name"]]: Item["defaultValue"] }
Generates the UserSettingDefinition type based on the settings object
Defined in
workingtitle-instruments-wt21/shared/Profiles/RefsUserSettings.ts:19
TerrWxState
Ƭ TerrWxState: typeof terrWxStates
[number
]
TERR/WX state
Defined in
workingtitle-instruments-wt21/shared/Map/MapUserSettings.ts:9
TrafficSettings
Ƭ TrafficSettings: { readonly [Item in typeof trafficSettings[number] as Item["name"]]: Item["defaultValue"] }
Type definitions for traffic settings.
Defined in
workingtitle-instruments-wt21/shared/Traffic/TrafficUserSettings.ts:36
VSpeedData
Ƭ VSpeedData: Object
Type declaration
Name | Type | Description |
---|---|---|
manual | boolean | Indicates if this vspeed was modified by the pilot. |
show | boolean | Indicates if this vspeed should be shown. |
value | number | The set value of this vspeed |
Defined in
workingtitle-instruments-wt21/shared/Profiles/VSpeedUserSettings.ts:6
VSpeedDataAliased
Ƭ VSpeedDataAliased: Object
Index signature
▪ [type: `vspeed_type_${string}`]: VSpeedType
The type of this vspeed.
Defined in
workingtitle-instruments-wt21/shared/Profiles/VSpeedUserSettings.ts:16
WT21BearingPointerControlEvents
Ƭ WT21BearingPointerControlEvents: WT21BearingPointer1ControlEvents
& WT21BearingPointer2ControlEvents
Events for controlling the WT21 bearing pointers. Sync should always be true for these events.
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:229
WT21CourseNeedleNavSource
Ƭ WT21CourseNeedleNavSource: NavSourceBase
<WT21CourseNeedleNavSourceNames
>
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:50
WT21CourseNeedleNavSourceName
Ƭ WT21CourseNeedleNavSourceName: WT21CourseNeedleNavSourceNames
[number
]
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:42
WT21CourseNeedleNavSourceNames
Ƭ WT21CourseNeedleNavSourceNames: typeof courseNeedleNavSourceNames
The names of the available nav sources in the WT21 for the course needle.
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:40
WT21CourseNeedleNavSources
Ƭ WT21CourseNeedleNavSources: NavSources
<WT21CourseNeedleNavSourceNames
>
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:48
WT21DisplayUnitIndex
Ƭ WT21DisplayUnitIndex: 1
| 2
WT21 display unit type. Not taken into account for WT21DisplayUnitType.Pfd
Defined in
workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:18
WT21GhostNeedleControlEvents
Ƭ WT21GhostNeedleControlEvents: WT21NavIndicatorControlEvents
<"ghostNeedle"
, ExtractSubjectTypes
<Pick
<WT21GhostNeedleNavIndicator
, "isArmed"
| "isVisible"
>>>
Events for controlling the ghost needle.
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:192
WT21LNavDataEvents
Ƭ WT21LNavDataEvents: WT21LNavDataSimVarEvents
Events related to WT21 LNAV data.
Defined in
workingtitle-instruments-wt21/shared/Systems/Autopilot/WT21LNavDataEvents.ts:61
WT21NavIndicator
Ƭ WT21NavIndicator: NavIndicator
<WT21NavSourceNames
>
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:57
WT21NavIndicatorEvents
Ƭ WT21NavIndicatorEvents<Indicator
>: NavIndicatorEvents
<WT21NavSourceNames
, Indicator
>
Field changed events for WT21 Nav Indicator fields.
Type parameters
Name | Type |
---|---|
Indicator | extends WT21NavIndicatorNames [number ] |
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:66
WT21NavIndicatorName
Ƭ WT21NavIndicatorName: WT21NavIndicatorNames
[number
]
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:55
WT21NavIndicatorNames
Ƭ WT21NavIndicatorNames: typeof navIndicatorNames
The names of the nav indicators in the WT21.
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:53
WT21NavIndicators
Ƭ WT21NavIndicators: NavIndicators
<WT21NavSourceNames
, WT21NavIndicatorNames
>
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:59
WT21NavSource
Ƭ WT21NavSource: NavSourceBase
<WT21NavSourceNames
>
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:44
WT21NavSourceEvents
Ƭ WT21NavSourceEvents<Source
, Index
>: NavBaseEvents
<`nav_src_${Source}_${Index}`, NavBaseFields
>
Field changed events for WT21 Nav Source fields.
Type parameters
Name | Type |
---|---|
Source | extends WT21NavSourceNames [number ] |
Index | extends number |
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:62
WT21NavSourceName
Ƭ WT21NavSourceName: WT21NavSourceNames
[number
]
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:38
WT21NavSourceNames
Ƭ WT21NavSourceNames: typeof navSourceNames
The names of the available nav sources in the WT21.
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:36
WT21NavSources
Ƭ WT21NavSources: NavSources
<WT21NavSourceNames
>
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavIndicators.ts:46
WT21NavigationSettings
Ƭ WT21NavigationSettings: { readonly [Item in typeof navigationSettings[number] as Item["name"]]: Item["defaultValue"] }
Generates the UserSettingDefinition type based on the settings object
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21NavigationUserSettings.ts:25
WT21Settings
Ƭ WT21Settings: { readonly [Item in typeof userSettings[number] as Item["name"]]: Item["defaultValue"] }
Generates the UserSettingDefinition type based on the settings object
Defined in
workingtitle-instruments-wt21/shared/Profiles/WT21UserSettings.ts:21
Variables
HSICommon
• Const
HSICommon: Readonly
<{ hsiPposAircraftSymbolSVGPath
: () => any
; hsiStickAircraftSymbolSVGPath
: () => any
}>
Defined in
workingtitle-instruments-wt21/shared/LowerSection/HSI/HSICommon.tsx:3
NavIndicatorContext
• NavIndicatorContext: Context
<WT21NavIndicators
>
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavIndicators/NavIndicatorContext.ts:5
WT21FixInfoConfig
• Const
WT21FixInfoConfig: WT21FixInfoOptions
Defined in
workingtitle-instruments-wt21/shared/Systems/FixInfo/WT21FixInfoConfig.ts:5
WT21FlightPlanPredictorConfiguration
• Const
WT21FlightPlanPredictorConfiguration: FlightPlanPredictorConfiguration
WT21 Configuration for flight plan predictor
Defined in
workingtitle-instruments-wt21/shared/WT21FlightPlanPredictorConfiguration.ts:6
WT21_H_EVENT_GENERIC_UPR_REGEX
• Const
WT21_H_EVENT_GENERIC_UPR_REGEX: RegExp
Defined in
workingtitle-instruments-wt21/shared/DCP/DcpHEvents.ts:3
Functions
initNavIndicatorContext
▸ initNavIndicatorContext(navIndicatorsInstrument
): void
TODO
Parameters
Name | Type | Description |
---|---|---|
navIndicatorsInstrument | WT21NavIndicators | TODO |
Returns
void
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavIndicators/NavIndicatorContext.ts:10