pub struct Sensor {Show 57 fields
pub odata_context: Option<Context>,
pub odata_etag: Option<Etag>,
pub odata_id: Id,
pub odata_type: Type,
pub accuracy: Option<f64>,
pub actions: Option<Actions>,
pub adjusted_max_allowable_operating_value: Option<f64>,
pub adjusted_min_allowable_operating_value: Option<f64>,
pub apparent_va: Option<f64>,
pub apparentk_v_ah: Option<f64>,
pub average_reading: Option<f64>,
pub averaging_interval: Option<String>,
pub averaging_interval_achieved: Option<bool>,
pub calibration: Option<f64>,
pub calibration_time: Option<String>,
pub crest_factor: Option<f64>,
pub description: Option<Description>,
pub electrical_context: Option<ElectricalContext>,
pub id: Id,
pub implementation: Option<ImplementationType>,
pub lifetime_reading: Option<f64>,
pub links: Option<Links>,
pub load_percent: Option<f64>,
pub location: Option<Location>,
pub lowest_reading: Option<f64>,
pub lowest_reading_time: Option<String>,
pub max_allowable_operating_value: Option<f64>,
pub min_allowable_operating_value: Option<f64>,
pub name: Name,
pub oem: Option<Oem>,
pub peak_reading: Option<f64>,
pub peak_reading_time: Option<String>,
pub phase_angle_degrees: Option<f64>,
pub physical_context: Option<PhysicalContext>,
pub physical_sub_context: Option<PhysicalSubContext>,
pub power_factor: Option<f64>,
pub precision: Option<f64>,
pub reactive_var: Option<f64>,
pub reactivek_va_rh: Option<f64>,
pub reading: Option<f64>,
pub reading_basis: Option<ReadingBasisType>,
pub reading_range_max: Option<f64>,
pub reading_range_min: Option<f64>,
pub reading_time: Option<String>,
pub reading_type: Option<ReadingType>,
pub reading_units: Option<String>,
pub related_item: Option<Vec<IdRef>>,
pub related_item_odata_count: Option<Count>,
pub sensing_frequency: Option<f64>,
pub sensing_interval: Option<String>,
pub sensor_group: Option<RedundantGroup>,
pub sensor_reset_time: Option<String>,
pub speed_rpm: Option<f64>,
pub status: Option<Status>,
pub thd_percent: Option<f64>,
pub thresholds: Option<Thresholds>,
pub voltage_type: Option<VoltageType>,
}
Expand description
The Sensor schema describes a sensor and its properties.
Fields§
§odata_context: Option<Context>
§odata_etag: Option<Etag>
§odata_id: Id
§odata_type: Type
§accuracy: Option<f64>
The estimated percent error of measured versus actual values.
actions: Option<Actions>
§adjusted_max_allowable_operating_value: Option<f64>
The adjusted maximum allowable operating value for this equipment based on the environmental conditions.
adjusted_min_allowable_operating_value: Option<f64>
The adjusted minimum allowable operating value for this equipment based on the environmental conditions.
apparent_va: Option<f64>
The product of voltage and current for an AC circuit, in volt-ampere units.
apparentk_v_ah: Option<f64>
Apparent energy (kVAh).
average_reading: Option<f64>
The average sensor value.
averaging_interval: Option<String>
The interval over which the average sensor value is calculated.
averaging_interval_achieved: Option<bool>
Indicates that enough readings were collected to calculate the average sensor reading over the averaging interval time.
calibration: Option<f64>
The calibration offset applied to the Reading.
calibration_time: Option<String>
The date and time that the sensor was last calibrated.
crest_factor: Option<f64>
The crest factor for this sensor.
description: Option<Description>
§electrical_context: Option<ElectricalContext>
§id: Id
§implementation: Option<ImplementationType>
§lifetime_reading: Option<f64>
The total accumulation value for this sensor.
links: Option<Links>
§load_percent: Option<f64>
The power load utilization for this sensor.
location: Option<Location>
§lowest_reading: Option<f64>
The lowest sensor value.
lowest_reading_time: Option<String>
The time when the lowest sensor value occurred.
max_allowable_operating_value: Option<f64>
The maximum allowable operating value for this equipment.
min_allowable_operating_value: Option<f64>
The minimum allowable operating value for this equipment.
name: Name
§oem: Option<Oem>
§peak_reading: Option<f64>
The peak sensor value.
peak_reading_time: Option<String>
The time when the peak sensor value occurred.
phase_angle_degrees: Option<f64>
The phase angle (degrees) between the current and voltage waveforms.
physical_context: Option<PhysicalContext>
§physical_sub_context: Option<PhysicalSubContext>
§power_factor: Option<f64>
The power factor for this sensor.
precision: Option<f64>
The number of significant digits in the reading.
reactive_var: Option<f64>
The square root of the difference term of squared apparent VA and squared power (Reading) for a circuit, in VAR units.
reactivek_va_rh: Option<f64>
Reactive energy (kVARh).
reading: Option<f64>
The sensor value.
reading_basis: Option<ReadingBasisType>
§reading_range_max: Option<f64>
The maximum possible value for this sensor.
reading_range_min: Option<f64>
The minimum possible value for this sensor.
reading_time: Option<String>
The date and time that the reading was acquired from the sensor.
reading_type: Option<ReadingType>
§reading_units: Option<String>
The units of the reading and thresholds.
An array of links to resources or objects that this sensor services.
sensing_frequency: Option<f64>
The time interval between readings of the physical sensor.
sensing_interval: Option<String>
The time interval between readings of the sensor.
sensor_group: Option<RedundantGroup>
§sensor_reset_time: Option<String>
The date and time when the time-based properties were last reset.
speed_rpm: Option<f64>
The rotational speed.
status: Option<Status>
§thd_percent: Option<f64>
The total harmonic distortion (THD).
thresholds: Option<Thresholds>
§voltage_type: Option<VoltageType>