Unit interface.  
 More...
import"Unit.idl";
◆ Orientation
Display orientation. 
| Enumerator | 
|---|
| NORMAL  | Normal orientation.  
 | 
| FLIPPED  | Upside-down.  
 | 
 
 
◆ 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 
 
 
 
The documentation for this interface was generated from the following file: