ELEMENT_TYPE_SIGNAL
The tables below describe the ELEMENT_TYPE_SIGNAL specific parameters and additional fields for the MSG_CONF_DASHBOARD_ELEMENT message.
Parameter | Value |
---|---|
ELEMENT_TYPE | 0x04 |
Total data length of MSG_CONF_DASHBOARD_ELEMENT when using ELEMENT_TYPE_SIGNAL | 22 |
Field | Size | Values | Description |
---|---|---|---|
On transparency | 1 byte | 0 - 255 | |
On color | 3 bytes | 0xRRGGBB | RGB color for on state |
Off transparency | 1 byte | ||
Off color | 3 bytes | 0xRRGGBB | RGB color for off state |
Example
The picture below shows an example of a signal element. The corresponding element data fields are given in the table below the picture.
: The appearance of elements will vary with operating system version
and configuration.
Field | Value |
---|---|
Z-index | 0 |
X-coordinate | 20 |
Y-coordinate | 20 |
Width | 50 |
Height | 50 |
Element type | 0x04 |
On transparency | 255 |
On color | 0x00FF00 |
Off transparency | 255 |
Off Color | 0xFF0000 |