Skip to main content

Class: GtcInteractionEventUtils

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcInteractionEvent.ts:57

A utility class for working with GTC interaction events.

Constructors

Constructor

new GtcInteractionEventUtils(): GtcInteractionEventUtils

Returns

GtcInteractionEventUtils

Methods

hEventMap()

static hEventMap(orientation, instrumentIndex): (hEvent) => undefined | GtcHardwareControlEvent

Defined in: workingtitle-instruments-g3000/html_ui/GTC/GtcService/GtcInteractionEvent.ts:98

Maps an H event to a GtcHardwareControlEvent for a GTC.

Parameters

ParameterTypeDescription
orientationGtcOrientationThe orientation of the GTC.
instrumentIndexnumberWhich instrument index of the GTC.

Returns

The mapped event, or undefined if no matching event or index.

(hEvent): undefined | GtcHardwareControlEvent

Parameters
ParameterType
hEventstring
Returns

undefined | GtcHardwareControlEvent