Raritan EMX JSON-RPC API
Unit.idl
1 #ifndef __PDUMODEL_UNIT_IDL__
2 #define __PDUMODEL_UNIT_IDL__
3 
4 #include <UserEvent.idl>
5 
9 module pdumodel {
10 
12  interface Unit_2_0_1 {
13 
14  constant int ERR_INVALID_PARAM = 1;
15 
17  enumeration Orientation {
19  FLIPPED
20  };
21 
23  structure MetaData {
25  vector<Orientation> supportedDisplayOrientations;
27  };
28 
30  structure Settings {
31  boolean buzzerMuted;
34  };
35 
37  valueobject IdentificationStartedEvent extends event.UserEvent {
38  int duration;
39  };
40 
46  MetaData getMetaData();
47 
53  Settings getSettings();
54 
63  int setSettings(in Settings settings);
64 
70  void identify(in int seconds);
71 
77  void muteBuzzer(in boolean mute);
78 
84  Orientation getDisplayOrientation();
85 
86  };
87 
88 }
89 
90 #endif
boolean hasOrientationSensor
true if a tilt sensor is present
Definition: Unit.idl:24
Orientation
Display orientation.
Definition: Unit.idl:17
vector< Orientation > supportedDisplayOrientations
Supported display orientations.
Definition: Unit.idl:25
boolean buzzerMuted
true if the buzzer is muted
Definition: Unit.idl:31
boolean autoDisplayOrientation
true for automatic orientation control
Definition: Unit.idl:32
Unit metadata
Definition: Unit.idl:23
PDU Model.
Definition: Ade.idl:7
Unit interface.
Definition: Unit.idl:12
Orientation displayOrientation
Manually configured orientation
Definition: Unit.idl:33
Normal orientation.
Definition: Unit.idl:18
Unit settings
Definition: Unit.idl:30