This is the documentation for ToiFrontPanelServiceSegmentDisplayState.
This structure contains the state of the segment display. Use toi.statics.ToiFrontPanelServiceSegmentDisplayState.create(<text>, <colonState>, <intensity>, <currentMode>) to create an instance of ToiFrontPanelServiceSegmentDisplayState.
import "ToiFrontPanelServiceSegmentDisplayState.idl";
Public Attributes | |
attribute string | text |
attribute boolean | colonState |
attribute long | intensity |
attribute ToiFrontPanelService::TToiSegmentDisplayModes | currentMode |
attribute boolean ToiFrontPanelServiceSegmentDisplayState::colonState |
True if a colon is shown in the display. The state is independent of whether the display is in clock mode or not, i.e, it is up to the application to decide if the colon should be lit when the clock is displayed.
attribute ToiFrontPanelService::TToiSegmentDisplayModes ToiFrontPanelServiceSegmentDisplayState::currentMode |
Indicates which mode the segment display is in.
attribute long ToiFrontPanelServiceSegmentDisplayState::intensity |
The intensity of the display, given in percent, i.e., a value between 0 and 100.
attribute string ToiFrontPanelServiceSegmentDisplayState::text |
The text string that is displayed. When the display is in clock mode en empty string will be returned.