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_1 extends StateSensor_4_0_1 {
19  constant int ERR_INVALID_PARAMETER = 1;
20  constant int ERR_NOT_AVAILABLE = 2;
21 
32  int setState(in int newState);
33 
34  };
35 
36 }
37 
38 #endif
Switch is an actuator and an extension to StateSensor.
Definition: Switch.idl:18
Sensor with discrete readings.
Definition: StateSensor.idl:35
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8