Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
display::DisplayControl Interface Reference

Interface to control the device's front panel display. More...

Classes

struct  DefaultViewItem
 Representation of a possible default view. More...
 
struct  Info
 Collected display meta information. More...
 
struct  Settings
 
struct  SettingsChangedEvent
 Event: Settings were changed. More...
 

Public Member Functions

vector< DefaultViewItemgetAvailableDefaultViews ()
 Get available default views. More...
 
Settings getSettings ()
 Get the current settings. More...
 
int setSettings (in Settings settings)
 Update the settings. More...
 
Info getInfo ()
 Retrieve display's meta information. More...
 
void showSmiley (in boolean on, in boolean happy, in string msg)
 Show smiley on display. More...
 

Public Attributes

constant int SUCCESS = 0
 Error codes. More...
 
constant int ERR_INVALID_VALUE = 1
 Invalid argument. More...
 

Detailed Description

Interface to control the device's front panel display.

Definition at line 13 of file DisplayControl.idl.

Member Function Documentation

◆ getAvailableDefaultViews()

vector< DefaultViewItem > display::DisplayControl::getAvailableDefaultViews ( )

Get available default views.

This returns all views that can be used as default views on the device display.

Returns
Possible default views, or empty list if the default view can not be configured for the device's display

◆ getInfo()

Info display::DisplayControl::getInfo ( )

Retrieve display's meta information.

Returns
Display information

◆ getSettings()

Settings display::DisplayControl::getSettings ( )

Get the current settings.

Returns
settings

◆ setSettings()

int display::DisplayControl::setSettings ( in Settings  settings)

Update the settings.

Parameters
settingsSettings to be applied
Returns
0 on success
1 on invalid value

◆ showSmiley()

void display::DisplayControl::showSmiley ( in boolean  on,
in boolean  happy,
in string  msg 
)

Show smiley on display.

Parameters
ontrue to turn on smiley
happytrue to show happy smiley,false to show sad smiley
msgString for message

Member Data Documentation

◆ ERR_INVALID_VALUE

constant int display::DisplayControl::ERR_INVALID_VALUE = 1

Invalid argument.

Definition at line 18 of file DisplayControl.idl.

◆ SUCCESS

constant int display::DisplayControl::SUCCESS = 0

Error codes.

No error

Definition at line 17 of file DisplayControl.idl.


The documentation for this interface was generated from the following file: