1 #ifndef __LHXMODEL_SENSOR_IDL__ 2 #define __LHXMODEL_SENSOR_IDL__ 6 #include <UserEvent.idl> 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;
time timestamp
Time of sample.
Definition: LhxSensor.idl:85
boolean lowerCriticalIsEnabled
Lower critical threshold enabled.
Definition: LhxSensor.idl:63
double upperWarning
Upper warning threshold value.
Definition: LhxSensor.idl:68
boolean upperWarningIsEnabled
Upper warning threshold enabled.
Definition: LhxSensor.idl:67
double upperCritical
Upper critical threshold value.
Definition: LhxSensor.idl:70
NumThresholds newThresholds
Thresholds after change.
Definition: LhxSensor.idl:94
LHX Sensor Interface.
Definition: LhxSensor.idl:12
int state
discrete reading or state
Definition: LhxSensor.idl:86
boolean upperCriticalIsEnabled
Upper critical threshold enabled.
Definition: LhxSensor.idl:69
LHX Model.
Definition: Lhx.idl:9
Basic IDL definitions.
Definition: Event.idl:6
boolean lowerWarningIsEnabled
Lower warning threshold enabled.
Definition: LhxSensor.idl:65
Reading newReading
Reading after change.
Definition: LhxSensor.idl:100
double value
numeric reading value
Definition: LhxSensor.idl:87
Sensor interface
Definition: Sensor.idl:10
double lowerCritical
Lower critical threshold value.
Definition: LhxSensor.idl:64
boolean isValid
numeric value is valid or NAN
Definition: LhxSensor.idl:88
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
Sensor reading.
Definition: LhxSensor.idl:84
double lowerWarning
Lower warning threshold value.
Definition: LhxSensor.idl:66
double hysteresis
Deassertion hysteresis.
Definition: LhxSensor.idl:71
Complete sensor type specification.
Definition: Sensor.idl:153
Numerical sensor thresholds.
Definition: LhxSensor.idl:62