Class: G3XBacklightUtils
A utility class for working with G3X backlight SimVars.
Constructors
constructor
• new G3XBacklightUtils(): G3XBacklightUtils
Returns
Methods
getAutoLevelSimVarName
▸ getAutoLevelSimVarName(): string
Gets the automatic software backlight level SimVar name.
Returns
string
The automatic software backlight level SimVar name.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Backlight/G3XBacklightUtils.ts:23
getScreenLevelSimVarName
▸ getScreenLevelSimVarName(index
): string
Gets the screen backlight level SimVar name for a GDU.
Parameters
Name | Type | Description |
---|---|---|
index | number | A GDU index. |
Returns
string
The backlight level SimVar name for the specified GDU.
Throws
Error if index is not a valid value.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Backlight/G3XBacklightUtils.ts:11