1 #ifndef __LHXMODEL_SENSOR_IDL__
2 #define __LHXMODEL_SENSOR_IDL__
6 #include <UserEvent.idl>
19 sensors.Sensor_4_0_1.TypeSpec
type;
74 constant
int STATE_NOT_AVAILABLE = -1;
75 constant
int STATE_CLOSED = 0;
76 constant
int STATE_OPEN = 1;
77 constant
int STATE_NUM_NORMAL = 0;
78 constant
int STATE_NUM_ABOVE_UPPER_CRITICAL = 1;
79 constant
int STATE_NUM_ABOVE_UPPER_WARNING = 2;
80 constant
int STATE_NUM_BELOW_LOWER_WARNING = 3;
81 constant
int STATE_NUM_BELOW_LOWER_CRITICAL = 4;
92 valueobject ThresholdsChangedEvent extends
event.UserEvent {
98 valueobject StateChangedEvent extends idl.Event {
104 valueobject ReadingChangedEvent extends idl.Event {
108 constant
int ERR_INVALID_PARAM = 1;
109 constant
int ERR_NOT_SUPPORTED = 2;
LHX Sensor Interface.
Definition: LhxSensor.idl:12
double hysteresis
Deassertion hysteresis.
Definition: LhxSensor.idl:71
boolean isValid
numeric value is valid or NAN
Definition: LhxSensor.idl:88
double upperCritical
Upper critical threshold value.
Definition: LhxSensor.idl:70
int state
discrete reading or state
Definition: LhxSensor.idl:86
double lowerCritical
Lower critical threshold value.
Definition: LhxSensor.idl:64
boolean lowerWarningIsEnabled
Lower warning threshold enabled.
Definition: LhxSensor.idl:65
NumThresholds newThresholds
Thresholds after change.
Definition: LhxSensor.idl:94
double value
numeric reading value
Definition: LhxSensor.idl:87
Numerical sensor thresholds.
Definition: LhxSensor.idl:62
time timestamp
Time of sample.
Definition: LhxSensor.idl:85
boolean upperCriticalIsEnabled
Upper critical threshold enabled.
Definition: LhxSensor.idl:69
double lowerWarning
Lower warning threshold value.
Definition: LhxSensor.idl:66
boolean upperWarningIsEnabled
Upper warning threshold enabled.
Definition: LhxSensor.idl:67
Sensor reading.
Definition: LhxSensor.idl:84
boolean lowerCriticalIsEnabled
Lower critical threshold enabled.
Definition: LhxSensor.idl:63
Reading newReading
Reading after change.
Definition: LhxSensor.idl:100
double upperWarning
Upper warning threshold value.
Definition: LhxSensor.idl:68