The tables below describe the ELEMENT_TYPE_SIGNAL specific parameters and
additional fields for the MSG_CONF_DASHBOARD_ELEMENT message.
Table 1. ELEMENT_TYPE_SIGNAL Specific
ParametersParameter |
Value |
ELEMENT_TYPE |
0x04 |
Total data length of MSG_CONF_DASHBOARD_ELEMENT when
using ELEMENT_TYPE_SIGNAL |
22 |
Table 2. Additional Data Fields to
MSG_CONF_DASHBOARD_ELEMENT for ELEMENT_TYPE_SIGNALField |
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.
Note: The appearance of elements will vary with operating system version
and configuration.
Table 3. SignalField |
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 |