Class: BacklightPhotoCellConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:69
A configuration object which defines backlight photocell options.
Implements
Constructors
Constructor
new BacklightPhotoCellConfig(
baseInstrument,element):BacklightPhotoCellConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:90
Creates a new BacklightPhotoCellConfig from a configuration document element.
Parameters
| Parameter | Type | Description |
|---|---|---|
baseInstrument | BaseInstrument | The BaseInstrument element associated with the configuration. |
element | undefined | Element | A configuration document element. |
Returns
BacklightPhotoCellConfig
Properties
gamma
readonlygamma:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:83
The gamma value to use when mapping input ambient light intensities to output backlight levels.
inputRange
readonlyinputRange: readonly [number,number]
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:74
The range of input ambient light intensities, as [min, max] in lux, over which automatic photocell control
operates.
outputRange
readonlyoutputRange: readonly [number,number]
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:77
The range of backlight levels, as [min, max], allowed to be set when under automatic photocell control.
timeConstant
readonlytimeConstant:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/Backlight/BacklightConfig.ts:80
The time constant, in seconds, used by automatic photocell control to smooth input ambient light intensities.