Skip to main content

@microsoft/msfs-wt21-fmc

Enumerations

Classes

Interfaces

Type Aliases

BaseWT21FmcEvents

Ƭ BaseWT21FmcEvents: { [k in FmcEvent]: undefined }

FmcEvent mapped to an interface for CDU framework compatibility

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/WT21FmcEvents.ts:6


FacilityInfo

Ƭ FacilityInfo: Object

Facility and runway information for the flight.

Type declaration

NameTypeDescription
destinationFacilityAirportFacility | undefinedFacility info for the destination airport.
originFacilityAirportFacility | undefinedFacility info for the origin airport.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/FlightPlan/WT21Fms.ts:69


FmcEvent

Ƭ FmcEvent: FmcPageEvent | FmcSelectKeysEvent | FmcPrevNextEvent | FmcAlphaEvent | FmcMiscEvents

Type for all FMC events

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/FmcEvent.ts:116


FmcScratchpadInputEvent

Ƭ FmcScratchpadInputEvent: FmcAlphaEvent | BTN_CLR_DEL | BTN_CLR_DEL_LONG

A union type for events to be handled by the scratchpad

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/FmcEvent.ts:111


IasMachEntry

Ƭ IasMachEntry: readonly [number | null, number | null]

Struct for a ias/mach speed entry

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:799


MappedPerformanceVariableTypes

Ƭ MappedPerformanceVariableTypes<Types>: { [Index in keyof Types]: ReadonlyPerformanceVariable<Types[Index]> } & TupleLength<Types>

Type parameters

NameType
Typesextends [...any[]]

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/PerformanceCalculators/PerformanceVariable.ts:172


NearestAirportData

Ƭ NearestAirportData: Object

Data for a nearest airport entry.

Type declaration

NameTypeDescription
airportAirportFacilityThe airport facility.
bearingnumberThe magnetic bearing to the airport.
distancenumberThe distance to the airport, in nautical miles.
etenumberThe estimated time enroute to the airport, in minutes.
fodnumberThe estimated fuel remaining over the airport, in pounds.
runwayOneWayRunway | nullThe longest runway at the airport.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:6


PassengerDataEntry

Ƭ PassengerDataEntry: Object

Type declaration

NameTypeDescription
averageWeightnumber | nullAverage weight of each passenger
countnumber | nullNumber of passengers

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/PerfInitPage.ts:13


ProcedureListItem

Ƭ ProcedureListItem: Object

A procedure paired with its index in the facility info.

Type declaration

NameTypeDescription
indexnumberThe index in the facility info the procedure.
isVisualApproachbooleanIf the procedure is an approach and it is a visual approach.
procedureApproachProcedure | ArrivalProcedure | DepartureProcedureThe approach procedure.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/DepArrPageStore.ts:451


SpeedConstraintListItem

Ƭ SpeedConstraintListItem: Object

A item containing a speed constraint from a flight plan and associated metadata.

Type declaration

NameTypeDescription
flightPhaseVerticalFlightPhaseThe vertical flight phase of this item's speed constraint.
globalLegIndexnumberThe global index of the flight plan leg associated with this item's speed constraint.
isMissedApproachbooleanWhether this item's speed constraint is part of a missed approach procedure.
speedConstraintReadonly<SpeedConstraint>This item's speed constraint.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Autopilot/WT21SpeedConstraintStore.ts:11

Variables

ATO_REGEX

Const ATO_REGEX: RegExp

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Navigation/WT21PilotWaypointUtils.ts:12


IcaoIdentFormatter

Const IcaoIdentFormatter: Formatter<string | null>

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:551


LONG_LLA_FORMAT_REGEX

Const LONG_LLA_FORMAT_REGEX: RegExp

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Navigation/WT21CoordinatesUtils.ts:5


PBD_REGEX

Const PBD_REGEX: RegExp

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Navigation/WT21PilotWaypointUtils.ts:8


PBPB_REGEX

Const PBPB_REGEX: RegExp

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Navigation/WT21PilotWaypointUtils.ts:10


PageNumberDisplay

Const PageNumberDisplay: Formatter<string | null>

Formatter for displaying page number values

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:519


RawFormatter

Const RawFormatter: Formatter<string | number | null>

Formatter for displaying raw string values

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:542


RawValidator

Const RawValidator: Validator<string | null>

Validator for parsing raw string values

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:531


SHORT_END_LLA_FORMAT_REGEX

Const SHORT_END_LLA_FORMAT_REGEX: RegExp

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Navigation/WT21CoordinatesUtils.ts:3


SHORT_MID_LLA_FORMAT_REGEX

Const SHORT_MID_LLA_FORMAT_REGEX: RegExp

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Navigation/WT21CoordinatesUtils.ts:4


TimeFormatter

Const TimeFormatter: Formatter<Date>

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:166

Functions

mapHEventToFmcEvent

mapHEventToFmcEvent(hEvent, instrumentIndex): FmcEvent | undefined

Maps an H event to an FmcEvent

Parameters

NameTypeDescription
hEventstringthe raw H event string
instrumentIndexnumberthe instrument index

Returns

FmcEvent | undefined

FmcEvent the mapped event

Throws

if the event is invalid or unmapped

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/FmcHEvents.ts:87