6 #ifndef __SENSORS_SWITCH_IDL__
7 #define __SENSORS_SWITCH_IDL__
9 #include <StateSensor.idl>
10 #include <UserEvent.idl>
24 constant
int ERR_INVALID_PARAMETER = 1;
25 constant
int ERR_NOT_AVAILABLE = 2;
26 constant
int ERR_PDC_POWER_LIMIT = 3;
Sensor with discrete readings.
Definition: StateSensor.idl:43
Switch is an actuator and an extension to StateSensor.
Definition: Switch.idl:23
int setState(in int newState)
This method outputs the given value.
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
SwitchEvent: new state set to switch via setState.
Definition: Switch.idl:41
int targetState
target state as set via setState
Definition: Switch.idl:42