Skip to main content

Function: mapHEventToFmcEvent()

mapHEventToFmcEvent(hEvent, instrumentIndex): undefined | FmcEvent

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

Maps an H event to an FmcEvent

Parameters

ParameterTypeDescription
hEventstringthe raw H event string
instrumentIndexnumberthe instrument index

Returns

undefined | FmcEvent

FmcEvent the mapped event

Throws

if the event is invalid or unmapped