Raritan PX2/PX3 JSON-RPC API
Switch.idl
1 
2 #ifndef __SENSORS_SWITCH_IDL__
3 #define __SENSORS_SWITCH_IDL__
4 
5 #include <StateSensor.idl>
6 
8 module sensors {
9 
18  interface Switch_2_0_3 extends StateSensor_4_0_2 {
19  constant int ERR_INVALID_PARAMETER = 1;
20  constant int ERR_NOT_AVAILABLE = 2;
21  constant int ERR_PDC_POWER_LIMIT = 3;
22 
33  int setState(in int newState);
34 
35  };
36 
37 }
38 
39 #endif
Sensor with discrete readings.
Definition: StateSensor.idl:38
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
Switch is an actuator and an extension to StateSensor.
Definition: Switch.idl:18