Legrand / Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
Numeric sensor metadata. More...
import"NumericSensor.idl";
Public Attributes | |
Sensor::TypeSpec | type |
Sensor type, reading type and unit. | |
int | decdigits |
Number of significant decimal digits. More... | |
float | accuracy |
Sensor accuracy in percent. More... | |
float | resolution |
Sensor resolution. More... | |
float | tolerance |
Sensor tolerance. More... | |
float | noiseThreshold |
Sensor noise threshold. More... | |
Range | range |
Range of possible sensor readings. More... | |
ThresholdCapabilities | thresholdCaps |
Threshold capabilities. | |
Numeric sensor metadata.
float sensors::NumericSensor::MetaData::accuracy |
Sensor accuracy in percent.
How close in percent measurement is to actual value. This value has an implicit precision of 2, i.e. the double value must be rounded for 2 decimal digits before use. For example a reading of 10.0 and an accuracy of 0.2 means the actual reading value is 10.0 +/- 0.2%.
A value of 0 means unused.
int sensors::NumericSensor::MetaData::decdigits |
Number of significant decimal digits.
Indicates how many digits should be displayed to the right of the decimal point. I.e. double values must be rounded with this precision.
float sensors::NumericSensor::MetaData::noiseThreshold |
Range sensors::NumericSensor::MetaData::range |
float sensors::NumericSensor::MetaData::resolution |
Sensor resolution.
Minimum difference between any two measured values. Must be rounded with decimal digits.
float sensors::NumericSensor::MetaData::tolerance |
Sensor tolerance.
Tolerance is given in +/- counts of the reading value. It indicates a constant magnitude possible error in the quantization of an analog input to the sensor. Rounded with decimal digits + 1.
A value of 0 means unused.