1 #ifndef __TFW_SENSOR_IDL__ 2 #define __TFW_SENSOR_IDL__ 12 constant
int ERR_NOT_SUPPORTED = 1;
15 constant
int NUMERIC = 0;
16 constant
int DISCRETE_ON_OFF = 1;
17 constant
int DISCRETE_MULTI = 2;
26 constant
int UNSPECIFIED = 0;
28 constant
int VOLTAGE = 1;
29 constant
int CURRENT = 2;
30 constant
int UNBALANCE_CURRENT = 3;
31 constant
int POWER = 4;
32 constant
int POWER_FACTOR = 5;
33 constant
int ENERGY = 6;
34 constant
int FREQUENCY = 7;
35 constant
int TEMPERATURE = 8;
36 constant
int HUMIDITY = 9;
37 constant
int AIR_FLOW = 10;
38 constant
int AIR_PRESSURE = 11;
39 constant
int CONTACT_CLOSURE = 12;
40 constant
int ON_OFF_SENSOR = 13;
41 constant
int TRIP_SENSOR = 14;
42 constant
int VIBRATION = 15;
43 constant
int WATER_LEAK = 16;
44 constant
int SMOKE_DETECTOR = 17;
46 constant
int TOTAL_HARMONIC_DISTORTION = 18;
48 constant
int MASS = 19;
49 constant
int ELECTRICAL_RESISTANCE = 20;
50 constant
int FLUX = 21;
52 constant
int LUMINOUS_INTENSITY = 22;
53 constant
int ACCELERATION = 23;
54 constant
int MAGNETIC_FLUX_DENSITY = 24;
55 constant
int ELECTRIC_FIELD_STRENGTH = 25;
56 constant
int MAGNETIC_FIELD_STRENGTH = 26;
57 constant
int ANGLE = 27;
59 constant
int SELECTION = 28;
60 constant
int FAULT_STATE = 29;
61 constant
int POWER_QUALITY = 30;
62 constant
int ROTATIONAL_SPEED = 31;
64 constant
int LUMINOUS_ENERGY = 32;
65 constant
int LUMINOUS_FLUX = 33;
66 constant
int ILLUMINANCE = 34;
67 constant
int LUMINOUS_EMITTANCE = 35;
69 constant
int MOTION = 36;
70 constant
int OCCUPANCY = 37;
71 constant
int TAMPER = 38;
72 constant
int DRY_CONTACT = 39;
73 constant
int POWERED_DRY_CONTACT = 40;
75 constant
int ABSOLUTE_HUMIDITY = 41;
78 constant
int NONE = 0;
79 constant
int VOLT = 1;
80 constant
int AMPERE = 2;
81 constant
int WATT = 3;
82 constant
int VOLT_AMP = 4;
83 constant
int WATT_HOUR = 5;
84 constant
int VOLT_AMP_HOUR = 6;
85 constant
int DEGREE_CELSIUS = 7;
87 constant
int PERCENT = 9;
88 constant
int METER_PER_SEC = 10;
89 constant
int PASCAL = 11;
91 constant
int RPM = 13;
92 constant
int METER = 14;
93 constant
int HOUR = 15;
94 constant
int MINUTE = 16;
95 constant
int SECOND = 17;
97 constant
int VOLT_AMP_REACTIVE = 18;
98 constant
int VOLT_AMP_REACTIVE_HOUR = 19;
100 constant
int GRAM = 20;
101 constant
int OHM = 21;
102 constant
int LITERS_PER_HOUR = 22;
104 constant
int CANDELA = 23;
105 constant
int METER_PER_SQARE_SEC = 24;
106 constant
int TESLA = 25;
107 constant
int VOLT_PER_METER = 26;
108 constant
int VOLT_PER_AMPERE = 27;
109 constant
int DEGREE = 28;
111 constant
int DEGREE_FAHRENHEIT = 29;
112 constant
int KELVIN = 30;
113 constant
int JOULE = 31;
114 constant
int COULOMB = 32;
115 constant
int NIT = 33;
116 constant
int LUMEN = 34;
117 constant
int LUMEN_SECOND = 35;
118 constant
int LUX = 36;
119 constant
int PSI = 37;
120 constant
int NEWTON = 38;
121 constant
int FOOT = 39;
122 constant
int FOOT_PER_SEC = 40;
123 constant
int CUBIC_METER = 41;
124 constant
int RADIANT = 42;
125 constant
int STERADIANT = 43;
126 constant
int HENRY = 44;
127 constant
int FARAD = 45;
128 constant
int MOL = 46;
129 constant
int BECQUEREL = 47;
130 constant
int GRAY = 48;
131 constant
int SIEVERT = 49;
132 constant
int G_PER_CUBIC_METER = 50;
142 valueobject TypeSpecChangedEvent extends
idl.Event {
162 int setType(in
int type, in
int unit);
int type
Sensor type
Definition: Sensor.idl:137
int unit
Sensor unit
Definition: Sensor.idl:138
int readingtype
Sensor reading type
Definition: Sensor.idl:136
TypeSpec newTypeSpec
Type specification after change.
Definition: Sensor.idl:144
Sensor interface
Definition: Sensor.idl:10
Basic IDL definitions.
Definition: Event.idl:6
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
Complete sensor type specification.
Definition: Sensor.idl:135
off
Definition: Sensor.idl:21
OnOffState
DISCRETE_ON_OFF Sensor State.
Definition: Sensor.idl:20