6 #ifndef __LHXMODEL_SENSOR_IDL__ 7 #define __LHXMODEL_SENSOR_IDL__ 11 #include <UserEvent.idl> 79 constant
int STATE_NOT_AVAILABLE = -1;
80 constant
int STATE_CLOSED = 0;
81 constant
int STATE_OPEN = 1;
82 constant
int STATE_NUM_NORMAL = 0;
83 constant
int STATE_NUM_ABOVE_UPPER_CRITICAL = 1;
84 constant
int STATE_NUM_ABOVE_UPPER_WARNING = 2;
85 constant
int STATE_NUM_BELOW_LOWER_WARNING = 3;
86 constant
int STATE_NUM_BELOW_LOWER_CRITICAL = 4;
97 valueobject ThresholdsChangedEvent extends
event.UserEvent {
103 valueobject StateChangedEvent extends
idl.Event {
109 valueobject ReadingChangedEvent extends
idl.Event {
113 constant
int ERR_INVALID_PARAM = 1;
114 constant
int ERR_NOT_SUPPORTED = 2;
LHX Sensor Interface.
Definition: LhxSensor.idl:17
double lowerWarning
Lower warning threshold value.
Definition: LhxSensor.idl:71
boolean lowerWarningIsEnabled
Lower warning threshold enabled.
Definition: LhxSensor.idl:70
boolean lowerCriticalIsEnabled
Lower critical threshold enabled.
Definition: LhxSensor.idl:68
LHX Model.
Definition: Lhx.idl:14
Basic IDL definitions.
Definition: Event.idl:10
double upperCritical
Upper critical threshold value.
Definition: LhxSensor.idl:75
Sensor reading.
Definition: LhxSensor.idl:89
boolean isValid
numeric value is valid or NAN
Definition: LhxSensor.idl:93
int state
discrete reading or state
Definition: LhxSensor.idl:91
time timestamp
Time of sample.
Definition: LhxSensor.idl:90
double hysteresis
Deassertion hysteresis.
Definition: LhxSensor.idl:76
Sensor interface
Definition: Sensor.idl:15
Numerical sensor thresholds.
Definition: LhxSensor.idl:67
Reading newReading
Reading after change.
Definition: LhxSensor.idl:105
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
double value
numeric reading value
Definition: LhxSensor.idl:92
NumThresholds newThresholds
Thresholds after change.
Definition: LhxSensor.idl:99
Complete sensor type specification.
Definition: Sensor.idl:160
double lowerCritical
Lower critical threshold value.
Definition: LhxSensor.idl:69
boolean upperWarningIsEnabled
Upper warning threshold enabled.
Definition: LhxSensor.idl:72
double upperWarning
Upper warning threshold value.
Definition: LhxSensor.idl:73
boolean upperCriticalIsEnabled
Upper critical threshold enabled.
Definition: LhxSensor.idl:74