Unit interface.
More...
Unit interface.
Definition at line 17 of file Unit.idl.
◆ Orientation
Display orientation.
Enumerator |
---|
NORMAL | Normal orientation.
|
FLIPPED | Upside-down.
|
Definition at line 22 of file Unit.idl.
◆ getDisplayOrientation()
Retrieve the current orientation of the display.
- Returns
- Display orientation.
◆ getMetaData()
MetaData pdumodel::Unit::getMetaData |
( |
| ) |
|
Retrieve the unit metadata.
- Returns
- Unit metadata
◆ getSettings()
Settings pdumodel::Unit::getSettings |
( |
| ) |
|
Retrieve the unit settings.
- Returns
- Unit settings
◆ identify()
void pdumodel::Unit::identify |
( |
in int |
seconds | ) |
|
Display something distictive to identify the unit.
- Parameters
-
seconds | Number of seconds to display the identify string |
◆ muteBuzzer()
void pdumodel::Unit::muteBuzzer |
( |
in boolean |
mute | ) |
|
Mute buzzer, turn of all audible alarms.
- Parameters
-
mute | true to mute buzzer, false for normal mode |
◆ setSettings()
int pdumodel::Unit::setSettings |
( |
in Settings |
settings | ) |
|
Change the unit settings.
- Parameters
-
settings | New unit settings |
- Returns
- 0 if OK
-
ERR_INVALID_PARAM if any parameters are invalid
◆ ERR_INVALID_PARAM
constant int pdumodel::Unit::ERR_INVALID_PARAM = 1 |
Invalid parameters.
Definition at line 19 of file Unit.idl.
The documentation for this interface was generated from the following file: