Raritan PX2/PX3 JSON-RPC API
|
6 #ifndef __SENSORMODEL_NUMERICSENSOR_IDL__
7 #define __SENSORMODEL_NUMERICSENSOR_IDL__
11 #include <UserEvent.idl>
19 constant
int THRESHOLD_OUT_OF_RANGE = 1;
20 constant
int THRESHOLD_INVALID = 2;
21 constant
int THRESHOLD_NOT_SUPPORTED = 3;
141 valueobject ReadingChangedEvent extends
idl.Event {
146 valueobject StateChangedEvent extends
idl.Event {
152 valueobject MetaDataChangedEvent extends
idl.Event {
158 valueobject ThresholdsChangedEvent extends
event.UserEvent {
Thresholds newThresholds
Threshold set after change.
Definition: NumericSensor.idl:160
boolean lowerCriticalActive
true if the lower critical threshold is enabled
Definition: NumericSensor.idl:118
double lower
Minimum reading.
Definition: NumericSensor.idl:25
boolean upperCriticalActive
true if the upper critical threshold is enabled
Definition: NumericSensor.idl:112
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
boolean aboveUpperCritical
Reading is above upper critical threshold.
Definition: NumericSensor.idl:128
Threshold capabilities.
Definition: NumericSensor.idl:32
double lowerWarning
Lower warning threshold.
Definition: NumericSensor.idl:117
MetaData newMetaData
Metadata after change.
Definition: NumericSensor.idl:154
boolean aboveUpperWarning
Reading is above upper warning threshold.
Definition: NumericSensor.idl:129
Reading newReading
Reading after state change.
Definition: NumericSensor.idl:148
int assertionTimeout
Assertion timeout in samples.
Definition: NumericSensor.idl:120
Status status
Numeric sensor status.
Definition: NumericSensor.idl:135
double upper
Maximum reading.
Definition: NumericSensor.idl:26
Numeric sensor thresholds.
Definition: NumericSensor.idl:111
Thresholds getThresholds()
Retrieve the active thresholds.
Reading getReading()
Get the sensor reading.
boolean hasUpperWarning
Sensor has upper warning threshold.
Definition: NumericSensor.idl:34
Complete sensor type specification.
Definition: Sensor.idl:163
boolean available
true if the sensor is available
Definition: NumericSensor.idl:134
boolean hasLowerWarning
Sensor has lower warning threshold.
Definition: NumericSensor.idl:35
Range of possible sensor readings.
Definition: NumericSensor.idl:24
double upperCritical
Upper critical threshold.
Definition: NumericSensor.idl:113
boolean hasLowerCritical
Sensor has lower critical threshold.
Definition: NumericSensor.idl:36
int setThresholds(in Thresholds thresh)
Change the active thresholds.
Basic IDL definitions.
Definition: Event.idl:10
boolean upperWarningActive
true if the upper warning threshold is enabled
Definition: NumericSensor.idl:114
Thresholds getDefaultThresholds()
Retrieve the sensor default thresholds.
boolean valid
true if the sensor reading is valid
Definition: NumericSensor.idl:136
Sensor interface
Definition: Sensor.idl:15
Numeric sensor status.
Definition: NumericSensor.idl:127
MetaData getMetaData()
Retrieve the sensor metadata.
time timestamp
UNIX timestamp (UTC) of last sample.
Definition: NumericSensor.idl:133
boolean hasUpperCritical
Sensor has upper critical threshold.
Definition: NumericSensor.idl:33
A sensor with numeric readings.
Definition: NumericSensor.idl:17
double lowerCritical
Lower critical threshold.
Definition: NumericSensor.idl:119
double value
Numeric sensor reading.
Definition: NumericSensor.idl:137
boolean belowLowerWarning
Reading is below lower warning threshold.
Definition: NumericSensor.idl:130
Numeric sensor reading.
Definition: NumericSensor.idl:125
double upperWarning
Upper warning threshold.
Definition: NumericSensor.idl:115
boolean lowerWarningActive
true if the lower warning threshold is enabled
Definition: NumericSensor.idl:116
float deassertionHysteresis
Deassertion hysteresis.
Definition: NumericSensor.idl:121
boolean belowLowerCritical
Reading is below lower critical threshold.
Definition: NumericSensor.idl:131