Loading...
Searching...
No Matches
Sensor.idl
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright 2009 Raritan Inc. All rights reserved.
*/
#ifndef __TFW_SENSOR_IDL__
#define __TFW_SENSOR_IDL__
#include <Event.idl>
/** Sensors Model */
module sensors {
/** %Sensor interface */
interface Sensor {
constant int ERR_NOT_SUPPORTED = 1; ///< The operation is not supported
/** %Sensor reading type */
constant int NUMERIC = 0; ///< %Sensor has numeric readings
constant int DISCRETE_ON_OFF = 1; ///< %Sensor has two discrete readings: 0 (off) and 1 (on), see OnOffState
constant int DISCRETE_MULTI = 2; ///< %Sensor has multiple discrete readings
/** Sensor states for DISCRETE_ON_OFF sensors */
enumeration OnOffState {
OFF, ///< off
ON ///< on
};
enumeration OpenClosedState {
OPEN, ///< open
CLOSED ///< closed
};
enumeration NormalAlarmedState {
NORMAL, ///< normal (not alarmed)
ALARMED ///< alarmed
};
enumeration OkFaultState {
OK, ///< OK
FAULT ///< fault
};
/** %Sensor type */
constant int UNSPECIFIED = 0; ///< Unspecified
constant int VOLTAGE = 1; ///< Voltage
constant int CURRENT = 2; ///< Current
constant int UNBALANCE_CURRENT = 3; ///< Current unbalance
constant int POWER = 4; ///< Power
constant int POWER_FACTOR = 5; ///< Power factor
constant int ENERGY = 6; ///< Energy
constant int FREQUENCY = 7; ///< Frequency
constant int TEMPERATURE = 8; ///< Temperature
constant int HUMIDITY = 9; ///< Relative humidity
constant int AIR_FLOW = 10; ///< Air flow
constant int AIR_PRESSURE = 11; ///< Air pressure
constant int CONTACT_CLOSURE = 12; ///< Contact Closure [uses %NormalAlarmedState mapping]
constant int ON_OFF_SENSOR = 13; ///< Switch state [uses %OnOffState mapping]
constant int TRIP_SENSOR = 14; ///< Circuit breaker tripped [uses %OpenClosedState mapping]
constant int VIBRATION = 15; ///< Vibration [uses %NormalAlarmedState mapping]
constant int WATER_LEAK = 16; ///< Water leak [uses %NormalAlarmedState mapping]
constant int SMOKE_DETECTOR = 17; ///< Smoke detector [uses %NormalAlarmedState mapping]
constant int TOTAL_HARMONIC_DISTORTION = 18; ///< Total harmonic distortion
constant int MASS = 19; ///< Mass
constant int ELECTRICAL_RESISTANCE = 20; ///< Electrical resistance
constant int FLUX = 21; ///< Flux (mass per time, e.g. water flow)
constant int LUMINOUS_INTENSITY = 22; ///< Luminous intensity
constant int ACCELERATION = 23; ///< Acceleration
constant int MAGNETIC_FLUX_DENSITY = 24; ///< Magnetic flux density
constant int ELECTRIC_FIELD_STRENGTH = 25; ///< Electric field strength
constant int MAGNETIC_FIELD_STRENGTH = 26; ///< Magnetic field strength [uses %NormelAlarmedState mapping if of %DISCRETE_ON_OFF type]
constant int ANGLE = 27; ///< Angle (e.g. phase angle)
constant int SELECTION = 28; ///< Selected index (one of n)
constant int FAULT_STATE = 29; ///< Fault state [uses %NormalAlarmedState mapping if of %DISCRETE_ON_OFF type]
constant int POWER_QUALITY = 30; ///< Power quality
constant int ROTATIONAL_SPEED = 31; ///< Rotational speed (e.g. fan speed)
constant int LUMINOUS_ENERGY = 32; ///< Luminous energy
constant int LUMINOUS_FLUX = 33; ///< Luminous flux
constant int ILLUMINANCE = 34; ///< Illuminance used for light incident on a surface
constant int LUMINOUS_EMITTANCE = 35; ///< Luminous emittance used for light emitted from a surface
constant int MOTION = 36; ///< Motion detection
constant int OCCUPANCY = 37; ///< Occupancy detection [uses %NormalAlarmedState mapping]
constant int TAMPER = 38; ///< Tamper detection [uses %NormalAlarmedState mapping]
constant int DRY_CONTACT = 39; ///< Dry contact (actuator) [uses %OnOffState mapping]
constant int POWERED_DRY_CONTACT = 40; ///< Powered dry contact (actuator) [uses %OnOffState mapping]
constant int ABSOLUTE_HUMIDITY = 41; ///< Absolute humidity
constant int DOOR_STATE = 42; ///< Door state [uses %OpenClosedState mapping]
constant int DOOR_LOCK_STATE = 43; ///< Door lock state [uses %OpenClosedState mapping]
constant int DOOR_HANDLE_LOCK = 44; ///< Door handle switch [uses %OpenClosedState mapping]
constant int CREST_FACTOR = 45; ///< Crest factor
constant int DISTANCE = 46; ///< Distance
constant int LENGTH = 47; ///< Length
constant int UNBALANCE_VOLTAGE = 48; ///< Voltage unbalance
constant int PARTICLE_DENSITY = 49; ///< Particle Density
constant int DEW_POINT = 50; ///< Dew Point
constant int ELECTRICAL_IMPEDANCE = 51; ///< Electrical impedance
constant int TS_BYPASS_STATE = 52; ///< Transfer switch bypass state
constant int BATTERY_LEVEL = 53; ///< Battery level
/** %Sensor unit */
constant int NONE = 0; ///< No unit
constant int VOLT = 1; ///< Electric Potential, Volts (V)
constant int AMPERE = 2; ///< Electric Current, Amperes (A)
constant int WATT = 3; ///< Electric Power, Watts (W)
constant int VOLT_AMP = 4; ///< Electric Capacity, Volt Amperes (VA)
constant int WATT_HOUR = 5; ///< Active Energy, Watt hours (Wh)
constant int VOLT_AMP_HOUR = 6; ///< Apparent Energy, Volt-Ampere hours (VAh)
constant int DEGREE_CELSIUS = 7; ///< Temperature, Celsius (deg C)
constant int HZ = 8; ///< Frequency, Hertz (Hz)
constant int PERCENT = 9; ///< Ratio, Percent (%)
constant int METER_PER_SEC = 10; ///< Speed, Meters per second (m/s)
constant int PASCAL = 11; ///< Pressure, Pascal (Pa)
constant int G = 12; ///< Acceleration, G-force (g)
constant int RPM = 13; ///< Rotation, Revolutions per minute (rpm)
constant int METER = 14; ///< Distance, Meters (m)
constant int HOUR = 15; ///< Time, Hours (h)
constant int MINUTE = 16; ///< Time, Minutes (min)
constant int SECOND = 17; ///< Time, Seconds (s)
constant int VOLT_AMP_REACTIVE = 18; ///< Reactive Power, Volt Amperes reactive (var)
constant int VOLT_AMP_REACTIVE_HOUR = 19; ///< Reactive Energy, Volt Ampere reactive hours (varh)
constant int GRAM = 20; ///< Mass, Gram (g)
constant int OHM = 21; ///< Resistance, Ohm (omega, R)
constant int LITERS_PER_HOUR = 22; ///< Flow, Liters per hour (l/h)
constant int CANDELA = 23; ///< Luminous Intensity, Candela (cd)
constant int METER_PER_SQUARE_SEC = 24; ///< Acceleration, Meter per square second (m/s^2)
constant int METER_PER_SQARE_SEC = 24; ///< Typo, preserved for backward compatibility
constant int TESLA = 25; ///< Magnetic Flux Density, Tesla (T)
constant int VOLT_PER_METER = 26; ///< Electric Field, Volt per meter (V/m)
constant int VOLT_PER_AMPERE = 27; ///< Resistance, Volt per ampere (V/A)
constant int DEGREE = 28; ///< Angle, Degrees (deg)
constant int DEGREE_FAHRENHEIT = 29; ///< Temperature, Fahrenheit (deg F)
constant int KELVIN = 30; ///< Temperature, Kelvin (K)
constant int JOULE = 31; ///< Energy, Joules (J)
constant int COULOMB = 32; ///< Electric Charge, Coulombs (C)
constant int NIT = 33; ///< Luminance, Nits (cd/m^2)
constant int LUMEN = 34; ///< Luminous Flux, Lumen (lm)
constant int LUMEN_SECOND = 35; ///< Luminous Energy, Lumen second (lm s)
constant int LUX = 36; ///< Luminous Flux, Lux (lx)
constant int PSI = 37; ///< Pressure, Pounds per square inch (psi)
constant int NEWTON = 38; ///< Force, Newtons (N, J/m)
constant int FOOT = 39; ///< Distance, Feet (ft)
constant int FOOT_PER_SEC = 40; ///< Speed, Feet per second (ft/s)
constant int CUBIC_METER = 41; ///< Volume, Cubic meters (m^3)
constant int RADIANT = 42; ///< Angle, Radians (rad)
constant int STERADIANT = 43; ///< Solid Angle, Steradians (sr)
constant int HENRY = 44; ///< Inductance, Henries (H, Vs/A, Ohm s)
constant int FARAD = 45; ///< Capacitance, Farads (F)
constant int MOL = 46; ///< Substance Quantity, Moles (mol)
constant int BECQUEREL = 47; ///< Radiation, Becquerels (Bq)
constant int GRAY = 48; ///< Radiation, Grays (Gy, J/kg)
constant int SIEVERT = 49; ///< Radiation, Sieverts (Sv = J/kg)
constant int G_PER_CUBIC_METER = 50; ///< Density, Grams per cubic meter (g/m^3)
constant int UG_PER_CUBIC_METER = 51; ///< Density, Micrograms per cubic meter (µg/m^3)
/** Complete sensor type specification */
structure TypeSpec {
int readingtype; ///< %Sensor reading type
int type; ///< %Sensor type
int unit; ///< %Sensor unit
};
/** Event: The type specification of the sensor changed */
valueobject TypeSpecChangedEvent extends idl.Event {
TypeSpec oldTypeSpec; ///< Type specification before change
TypeSpec newTypeSpec; ///< Type specification after change
};
/**
* Retrieve the sensor type specification.
*
* @return Type specification
*/
TypeSpec getTypeSpec();
/**
* Check whether the sensor type can be changed using setType().
*
* @return \true if type change is allowed
*/
boolean isTypeChangeAllowed();
/**
* Set sensor type and unit
*
* @param type the sensor type to set
* @param unit the sensor unit to set
*
* @return ERR_NOT_SUPPORTED or 0
*/
int setType(in int type, in int unit);
};
}
#endif
sensors::Sensor
Sensor interface
Definition Sensor.idl:15
sensors::Sensor::FAULT_STATE
constant int FAULT_STATE
Fault state [uses NormalAlarmedState mapping if of DISCRETE_ON_OFF type].
Definition Sensor.idl:80
sensors::Sensor::AIR_FLOW
constant int AIR_FLOW
Air flow.
Definition Sensor.idl:57
sensors::Sensor::MOTION
constant int MOTION
Motion detection.
Definition Sensor.idl:89
sensors::Sensor::UNSPECIFIED
constant int UNSPECIFIED
Sensor type
Definition Sensor.idl:46
sensors::Sensor::DOOR_HANDLE_LOCK
constant int DOOR_HANDLE_LOCK
Door handle switch [uses OpenClosedState mapping].
Definition Sensor.idl:98
sensors::Sensor::METER_PER_SEC
constant int METER_PER_SEC
Speed, Meters per second (m/s)
Definition Sensor.idl:128
sensors::Sensor::LUMINOUS_INTENSITY
constant int LUMINOUS_INTENSITY
Luminous intensity.
Definition Sensor.idl:72
sensors::Sensor::HUMIDITY
constant int HUMIDITY
Relative humidity.
Definition Sensor.idl:56
sensors::Sensor::POWER_FACTOR
constant int POWER_FACTOR
Power factor.
Definition Sensor.idl:52
sensors::Sensor::NONE
constant int NONE
Sensor unit
Definition Sensor.idl:118
sensors::Sensor::UG_PER_CUBIC_METER
constant int UG_PER_CUBIC_METER
Density, Micrograms per cubic meter (µg/m^3)
Definition Sensor.idl:174
sensors::Sensor::NormalAlarmedState
NormalAlarmedState
Definition Sensor.idl:35
sensors::Sensor::NORMAL
@ NORMAL
normal (not alarmed)
Definition Sensor.idl:36
sensors::Sensor::ALARMED
@ ALARMED
alarmed
Definition Sensor.idl:37
sensors::Sensor::ROTATIONAL_SPEED
constant int ROTATIONAL_SPEED
Rotational speed (e.g. fan speed)
Definition Sensor.idl:82
sensors::Sensor::LENGTH
constant int LENGTH
Length.
Definition Sensor.idl:103
sensors::Sensor::CURRENT
constant int CURRENT
Current.
Definition Sensor.idl:49
sensors::Sensor::ACCELERATION
constant int ACCELERATION
Acceleration.
Definition Sensor.idl:73
sensors::Sensor::LUMEN_SECOND
constant int LUMEN_SECOND
Luminous Energy, Lumen second (lm s)
Definition Sensor.idl:158
sensors::Sensor::WATER_LEAK
constant int WATER_LEAK
Water leak [uses NormalAlarmedState mapping].
Definition Sensor.idl:63
sensors::Sensor::MINUTE
constant int MINUTE
Time, Minutes (min)
Definition Sensor.idl:134
sensors::Sensor::WATT_HOUR
constant int WATT_HOUR
Active Energy, Watt hours (Wh)
Definition Sensor.idl:123
sensors::Sensor::VOLT_AMP
constant int VOLT_AMP
Electric Capacity, Volt Amperes (VA)
Definition Sensor.idl:122
sensors::Sensor::VOLTAGE
constant int VOLTAGE
Voltage.
Definition Sensor.idl:48
sensors::Sensor::TOTAL_HARMONIC_DISTORTION
constant int TOTAL_HARMONIC_DISTORTION
Total harmonic distortion.
Definition Sensor.idl:66
sensors::Sensor::DISCRETE_ON_OFF
constant int DISCRETE_ON_OFF
Sensor has two discrete readings: 0 (off) and 1 (on), see OnOffState
Definition Sensor.idl:21
sensors::Sensor::AIR_PRESSURE
constant int AIR_PRESSURE
Air pressure.
Definition Sensor.idl:58
sensors::Sensor::DOOR_STATE
constant int DOOR_STATE
Door state [uses OpenClosedState mapping].
Definition Sensor.idl:96
sensors::Sensor::METER
constant int METER
Distance, Meters (m)
Definition Sensor.idl:132
sensors::Sensor::FLUX
constant int FLUX
Flux (mass per time, e.g. water flow)
Definition Sensor.idl:70
sensors::Sensor::VOLT_PER_AMPERE
constant int VOLT_PER_AMPERE
Resistance, Volt per ampere (V/A)
Definition Sensor.idl:149
sensors::Sensor::JOULE
constant int JOULE
Energy, Joules (J)
Definition Sensor.idl:154
sensors::Sensor::HENRY
constant int HENRY
Inductance, Henries (H, Vs/A, Ohm s)
Definition Sensor.idl:167
sensors::Sensor::RADIANT
constant int RADIANT
Angle, Radians (rad)
Definition Sensor.idl:165
sensors::Sensor::GRAY
constant int GRAY
Radiation, Grays (Gy, J/kg)
Definition Sensor.idl:171
sensors::Sensor::KELVIN
constant int KELVIN
Temperature, Kelvin (K)
Definition Sensor.idl:153
sensors::Sensor::RPM
constant int RPM
Rotation, Revolutions per minute (rpm)
Definition Sensor.idl:131
sensors::Sensor::VOLT_AMP_REACTIVE_HOUR
constant int VOLT_AMP_REACTIVE_HOUR
Reactive Energy, Volt Ampere reactive hours (varh)
Definition Sensor.idl:138
sensors::Sensor::TESLA
constant int TESLA
Magnetic Flux Density, Tesla (T)
Definition Sensor.idl:147
sensors::Sensor::BECQUEREL
constant int BECQUEREL
Radiation, Becquerels (Bq)
Definition Sensor.idl:170
sensors::Sensor::DISCRETE_MULTI
constant int DISCRETE_MULTI
Sensor has multiple discrete readings
Definition Sensor.idl:22
sensors::Sensor::NEWTON
constant int NEWTON
Force, Newtons (N, J/m)
Definition Sensor.idl:161
sensors::Sensor::VOLT_PER_METER
constant int VOLT_PER_METER
Electric Field, Volt per meter (V/m)
Definition Sensor.idl:148
sensors::Sensor::ERR_NOT_SUPPORTED
constant int ERR_NOT_SUPPORTED
The operation is not supported.
Definition Sensor.idl:17
sensors::Sensor::CANDELA
constant int CANDELA
Luminous Intensity, Candela (cd)
Definition Sensor.idl:144
sensors::Sensor::LITERS_PER_HOUR
constant int LITERS_PER_HOUR
Flow, Liters per hour (l/h)
Definition Sensor.idl:142
sensors::Sensor::SMOKE_DETECTOR
constant int SMOKE_DETECTOR
Smoke detector [uses NormalAlarmedState mapping].
Definition Sensor.idl:64
sensors::Sensor::FARAD
constant int FARAD
Capacitance, Farads (F)
Definition Sensor.idl:168
sensors::Sensor::TS_BYPASS_STATE
constant int TS_BYPASS_STATE
Transfer switch bypass state.
Definition Sensor.idl:113
sensors::Sensor::METER_PER_SQUARE_SEC
constant int METER_PER_SQUARE_SEC
Acceleration, Meter per square second (m/s^2)
Definition Sensor.idl:145
sensors::Sensor::SECOND
constant int SECOND
Time, Seconds (s)
Definition Sensor.idl:135
sensors::Sensor::PARTICLE_DENSITY
constant int PARTICLE_DENSITY
Particle Density.
Definition Sensor.idl:107
sensors::Sensor::GRAM
constant int GRAM
Mass, Gram (g)
Definition Sensor.idl:140
sensors::Sensor::OCCUPANCY
constant int OCCUPANCY
Occupancy detection [uses NormalAlarmedState mapping].
Definition Sensor.idl:90
sensors::Sensor::VIBRATION
constant int VIBRATION
Vibration [uses NormalAlarmedState mapping].
Definition Sensor.idl:62
sensors::Sensor::ILLUMINANCE
constant int ILLUMINANCE
Illuminance used for light incident on a surface.
Definition Sensor.idl:86
sensors::Sensor::HZ
constant int HZ
Frequency, Hertz (Hz)
Definition Sensor.idl:126
sensors::Sensor::TRIP_SENSOR
constant int TRIP_SENSOR
Circuit breaker tripped [uses OpenClosedState mapping].
Definition Sensor.idl:61
sensors::Sensor::LUMINOUS_EMITTANCE
constant int LUMINOUS_EMITTANCE
Luminous emittance used for light emitted from a surface.
Definition Sensor.idl:87
sensors::Sensor::ANGLE
constant int ANGLE
Angle (e.g. phase angle)
Definition Sensor.idl:77
sensors::Sensor::MASS
constant int MASS
Mass.
Definition Sensor.idl:68
sensors::Sensor::SIEVERT
constant int SIEVERT
Radiation, Sieverts (Sv = J/kg)
Definition Sensor.idl:172
sensors::Sensor::SELECTION
constant int SELECTION
Selected index (one of n)
Definition Sensor.idl:79
sensors::Sensor::LUMINOUS_ENERGY
constant int LUMINOUS_ENERGY
Luminous energy.
Definition Sensor.idl:84
sensors::Sensor::FOOT_PER_SEC
constant int FOOT_PER_SEC
Speed, Feet per second (ft/s)
Definition Sensor.idl:163
sensors::Sensor::DEGREE_CELSIUS
constant int DEGREE_CELSIUS
Temperature, Celsius (deg C)
Definition Sensor.idl:125
sensors::Sensor::ENERGY
constant int ENERGY
Energy.
Definition Sensor.idl:53
sensors::Sensor::isTypeChangeAllowed
boolean isTypeChangeAllowed()
Check whether the sensor type can be changed using setType().
sensors::Sensor::OnOffState
OnOffState
Sensor states for DISCRETE_ON_OFF sensors.
Definition Sensor.idl:25
sensors::Sensor::OFF
@ OFF
off
Definition Sensor.idl:26
sensors::Sensor::ON
@ ON
on
Definition Sensor.idl:27
sensors::Sensor::FOOT
constant int FOOT
Distance, Feet (ft)
Definition Sensor.idl:162
sensors::Sensor::COULOMB
constant int COULOMB
Electric Charge, Coulombs (C)
Definition Sensor.idl:155
sensors::Sensor::NUMERIC
constant int NUMERIC
Sensor reading type
Definition Sensor.idl:20
sensors::Sensor::LUMINOUS_FLUX
constant int LUMINOUS_FLUX
Luminous flux.
Definition Sensor.idl:85
sensors::Sensor::TEMPERATURE
constant int TEMPERATURE
Temperature.
Definition Sensor.idl:55
sensors::Sensor::MAGNETIC_FIELD_STRENGTH
constant int MAGNETIC_FIELD_STRENGTH
Magnetic field strength [uses NormelAlarmedState mapping if of DISCRETE_ON_OFF type].
Definition Sensor.idl:76
sensors::Sensor::ON_OFF_SENSOR
constant int ON_OFF_SENSOR
Switch state [uses OnOffState mapping].
Definition Sensor.idl:60
sensors::Sensor::METER_PER_SQARE_SEC
constant int METER_PER_SQARE_SEC
Typo, preserved for backward compatibility.
Definition Sensor.idl:146
sensors::Sensor::CONTACT_CLOSURE
constant int CONTACT_CLOSURE
Contact Closure [uses NormalAlarmedState mapping].
Definition Sensor.idl:59
sensors::Sensor::LUX
constant int LUX
Luminous Flux, Lux (lx)
Definition Sensor.idl:159
sensors::Sensor::VOLT
constant int VOLT
Electric Potential, Volts (V)
Definition Sensor.idl:119
sensors::Sensor::VOLT_AMP_REACTIVE
constant int VOLT_AMP_REACTIVE
Reactive Power, Volt Amperes reactive (var)
Definition Sensor.idl:137
sensors::Sensor::DRY_CONTACT
constant int DRY_CONTACT
Dry contact (actuator) [uses OnOffState mapping].
Definition Sensor.idl:92
sensors::Sensor::OpenClosedState
OpenClosedState
Definition Sensor.idl:30
sensors::Sensor::OPEN
@ OPEN
open
Definition Sensor.idl:31
sensors::Sensor::CLOSED
@ CLOSED
closed
Definition Sensor.idl:32
sensors::Sensor::PASCAL
constant int PASCAL
Pressure, Pascal (Pa)
Definition Sensor.idl:129
sensors::Sensor::ABSOLUTE_HUMIDITY
constant int ABSOLUTE_HUMIDITY
Absolute humidity.
Definition Sensor.idl:95
sensors::Sensor::OHM
constant int OHM
Resistance, Ohm (omega, R)
Definition Sensor.idl:141
sensors::Sensor::TAMPER
constant int TAMPER
Tamper detection [uses NormalAlarmedState mapping].
Definition Sensor.idl:91
sensors::Sensor::DEGREE_FAHRENHEIT
constant int DEGREE_FAHRENHEIT
Temperature, Fahrenheit (deg F)
Definition Sensor.idl:152
sensors::Sensor::DEGREE
constant int DEGREE
Angle, Degrees (deg)
Definition Sensor.idl:150
sensors::Sensor::G_PER_CUBIC_METER
constant int G_PER_CUBIC_METER
Density, Grams per cubic meter (g/m^3)
Definition Sensor.idl:173
sensors::Sensor::VOLT_AMP_HOUR
constant int VOLT_AMP_HOUR
Apparent Energy, Volt-Ampere hours (VAh)
Definition Sensor.idl:124
sensors::Sensor::getTypeSpec
TypeSpec getTypeSpec()
Retrieve the sensor type specification.
sensors::Sensor::UNBALANCE_VOLTAGE
constant int UNBALANCE_VOLTAGE
Voltage unbalance.
Definition Sensor.idl:105
sensors::Sensor::NIT
constant int NIT
Luminance, Nits (cd/m^2)
Definition Sensor.idl:156
sensors::Sensor::G
constant int G
Acceleration, G-force (g)
Definition Sensor.idl:130
sensors::Sensor::HOUR
constant int HOUR
Time, Hours (h)
Definition Sensor.idl:133
sensors::Sensor::setType
int setType(in int type, in int unit)
Set sensor type and unit.
sensors::Sensor::DEW_POINT
constant int DEW_POINT
Dew Point.
Definition Sensor.idl:109
sensors::Sensor::BATTERY_LEVEL
constant int BATTERY_LEVEL
Battery level.
Definition Sensor.idl:115
sensors::Sensor::AMPERE
constant int AMPERE
Electric Current, Amperes (A)
Definition Sensor.idl:120
sensors::Sensor::MOL
constant int MOL
Substance Quantity, Moles (mol)
Definition Sensor.idl:169
sensors::Sensor::POWERED_DRY_CONTACT
constant int POWERED_DRY_CONTACT
Powered dry contact (actuator) [uses OnOffState mapping].
Definition Sensor.idl:93
sensors::Sensor::OkFaultState
OkFaultState
Definition Sensor.idl:40
sensors::Sensor::OK
@ OK
OK.
Definition Sensor.idl:41
sensors::Sensor::FAULT
@ FAULT
fault
Definition Sensor.idl:42
sensors::Sensor::DISTANCE
constant int DISTANCE
Distance.
Definition Sensor.idl:102
sensors::Sensor::FREQUENCY
constant int FREQUENCY
Frequency.
Definition Sensor.idl:54
sensors::Sensor::POWER
constant int POWER
Power.
Definition Sensor.idl:51
sensors::Sensor::POWER_QUALITY
constant int POWER_QUALITY
Power quality.
Definition Sensor.idl:81
sensors::Sensor::ELECTRICAL_RESISTANCE
constant int ELECTRICAL_RESISTANCE
Electrical resistance.
Definition Sensor.idl:69
sensors::Sensor::STERADIANT
constant int STERADIANT
Solid Angle, Steradians (sr)
Definition Sensor.idl:166
sensors::Sensor::ELECTRICAL_IMPEDANCE
constant int ELECTRICAL_IMPEDANCE
Electrical impedance.
Definition Sensor.idl:111
sensors::Sensor::WATT
constant int WATT
Electric Power, Watts (W)
Definition Sensor.idl:121
sensors::Sensor::CUBIC_METER
constant int CUBIC_METER
Volume, Cubic meters (m^3)
Definition Sensor.idl:164
sensors::Sensor::CREST_FACTOR
constant int CREST_FACTOR
Crest factor.
Definition Sensor.idl:100
sensors::Sensor::PSI
constant int PSI
Pressure, Pounds per square inch (psi)
Definition Sensor.idl:160
sensors::Sensor::PERCENT
constant int PERCENT
Ratio, Percent (%)
Definition Sensor.idl:127
sensors::Sensor::ELECTRIC_FIELD_STRENGTH
constant int ELECTRIC_FIELD_STRENGTH
Electric field strength.
Definition Sensor.idl:75
sensors::Sensor::UNBALANCE_CURRENT
constant int UNBALANCE_CURRENT
Current unbalance.
Definition Sensor.idl:50
sensors::Sensor::LUMEN
constant int LUMEN
Luminous Flux, Lumen (lm)
Definition Sensor.idl:157
sensors::Sensor::MAGNETIC_FLUX_DENSITY
constant int MAGNETIC_FLUX_DENSITY
Magnetic flux density.
Definition Sensor.idl:74
sensors::Sensor::DOOR_LOCK_STATE
constant int DOOR_LOCK_STATE
Door lock state [uses OpenClosedState mapping].
Definition Sensor.idl:97
idl
Basic IDL definitions.
Definition Event.idl:10
sensors
Sensors Model.
Definition AccumulatingNumericSensor.idl:13
idl::Event
Common base for all events.
Definition Event.idl:13
sensors::Sensor::TypeSpecChangedEvent
Event: The type specification of the sensor changed.
Definition Sensor.idl:184
sensors::Sensor::TypeSpecChangedEvent::newTypeSpec
TypeSpec newTypeSpec
Type specification after change.
Definition Sensor.idl:186
sensors::Sensor::TypeSpecChangedEvent::oldTypeSpec
TypeSpec oldTypeSpec
Type specification before change.
Definition Sensor.idl:185
sensors::Sensor::TypeSpec
Complete sensor type specification.
Definition Sensor.idl:177
sensors::Sensor::TypeSpec::unit
int unit
Sensor unit
Definition Sensor.idl:180
sensors::Sensor::TypeSpec::readingtype
int readingtype
Sensor reading type
Definition Sensor.idl:178
sensors::Sensor::TypeSpec::type
int type
Sensor type
Definition Sensor.idl:179