|
Raritan PX2/PX3 JSON-RPC API
|
Interface to control the device's front panel display. More...
import"DisplayControl.idl";
Classes | |
| struct | DefaultViewItem |
| Representation of a possible default view. More... | |
| struct | Info |
| Collected display meta information. More... | |
Public Member Functions | |
| vector< DefaultViewItem > | getAvailableDefaultViews () |
| Get available default views. More... | |
| string | getDefaultView () |
| Get the currently active default view. More... | |
| int | setDefaultView (in string id) |
| Set the active default view. 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. | |
| valueobject | DefaultViewChangedEvent: event::UserEvent { DefaultViewItem newView |
| Event: The default view was changed. More... | |
Interface to control the device's front panel display.
| vector<DefaultViewItem> display::DisplayControl_1_0_1::getAvailableDefaultViews | ( | ) |
Get available default views.
This returns all views that can be used as default views on the device display.
| string display::DisplayControl_1_0_1::getDefaultView | ( | ) |
Get the currently active default view.
| Info display::DisplayControl_1_0_1::getInfo | ( | ) |
Retrieve display's meta information.
| int display::DisplayControl_1_0_1::setDefaultView | ( | in string | id | ) |
Set the active default view.
| id | View ID of new default view |
| void display::DisplayControl_1_0_1::showSmiley | ( | in boolean | on, |
| in boolean | happy, | ||
| in string | msg | ||
| ) |
Show smiley on display.
| on | true to turn on smiley |
| happy | true to show happy smiley,false to show sad smiley |
| msg | String for message |
| valueobject display::DisplayControl_1_0_1::DefaultViewChangedEvent |
Event: The default view was changed.
New default view
| constant int display::DisplayControl_1_0_1::SUCCESS = 0 |
Error codes.
No error
1.8.14