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;
41 constant
int UNSPECIFIED = 0;
43 constant
int VOLTAGE = 1;
44 constant
int CURRENT = 2;
45 constant
int UNBALANCE_CURRENT = 3;
46 constant
int POWER = 4;
47 constant
int POWER_FACTOR = 5;
48 constant
int ENERGY = 6;
49 constant
int FREQUENCY = 7;
50 constant
int TEMPERATURE = 8;
51 constant
int HUMIDITY = 9;
52 constant
int AIR_FLOW = 10;
53 constant
int AIR_PRESSURE = 11;
54 constant
int CONTACT_CLOSURE = 12;
55 constant
int ON_OFF_SENSOR = 13;
56 constant
int TRIP_SENSOR = 14;
57 constant
int VIBRATION = 15;
58 constant
int WATER_LEAK = 16;
59 constant
int SMOKE_DETECTOR = 17;
61 constant
int TOTAL_HARMONIC_DISTORTION = 18;
63 constant
int MASS = 19;
64 constant
int ELECTRICAL_RESISTANCE = 20;
65 constant
int FLUX = 21;
67 constant
int LUMINOUS_INTENSITY = 22;
68 constant
int ACCELERATION = 23;
69 constant
int MAGNETIC_FLUX_DENSITY = 24;
70 constant
int ELECTRIC_FIELD_STRENGTH = 25;
71 constant
int MAGNETIC_FIELD_STRENGTH = 26;
72 constant
int ANGLE = 27;
74 constant
int SELECTION = 28;
75 constant
int FAULT_STATE = 29;
76 constant
int POWER_QUALITY = 30;
77 constant
int ROTATIONAL_SPEED = 31;
79 constant
int LUMINOUS_ENERGY = 32;
80 constant
int LUMINOUS_FLUX = 33;
81 constant
int ILLUMINANCE = 34;
82 constant
int LUMINOUS_EMITTANCE = 35;
84 constant
int MOTION = 36;
85 constant
int OCCUPANCY = 37;
86 constant
int TAMPER = 38;
87 constant
int DRY_CONTACT = 39;
88 constant
int POWERED_DRY_CONTACT = 40;
90 constant
int ABSOLUTE_HUMIDITY = 41;
91 constant
int DOOR_STATE = 42;
92 constant
int DOOR_LOCK_STATE = 43;
93 constant
int DOOR_HANDLE_LOCK = 44;
96 constant
int NONE = 0;
97 constant
int VOLT = 1;
98 constant
int AMPERE = 2;
99 constant
int WATT = 3;
100 constant
int VOLT_AMP = 4;
101 constant
int WATT_HOUR = 5;
102 constant
int VOLT_AMP_HOUR = 6;
103 constant
int DEGREE_CELSIUS = 7;
105 constant
int PERCENT = 9;
106 constant
int METER_PER_SEC = 10;
107 constant
int PASCAL = 11;
109 constant
int RPM = 13;
110 constant
int METER = 14;
111 constant
int HOUR = 15;
112 constant
int MINUTE = 16;
113 constant
int SECOND = 17;
115 constant
int VOLT_AMP_REACTIVE = 18;
116 constant
int VOLT_AMP_REACTIVE_HOUR = 19;
118 constant
int GRAM = 20;
119 constant
int OHM = 21;
120 constant
int LITERS_PER_HOUR = 22;
122 constant
int CANDELA = 23;
123 constant
int METER_PER_SQARE_SEC = 24;
124 constant
int TESLA = 25;
125 constant
int VOLT_PER_METER = 26;
126 constant
int VOLT_PER_AMPERE = 27;
127 constant
int DEGREE = 28;
129 constant
int DEGREE_FAHRENHEIT = 29;
130 constant
int KELVIN = 30;
131 constant
int JOULE = 31;
132 constant
int COULOMB = 32;
133 constant
int NIT = 33;
134 constant
int LUMEN = 34;
135 constant
int LUMEN_SECOND = 35;
136 constant
int LUX = 36;
137 constant
int PSI = 37;
138 constant
int NEWTON = 38;
139 constant
int FOOT = 39;
140 constant
int FOOT_PER_SEC = 40;
141 constant
int CUBIC_METER = 41;
142 constant
int RADIANT = 42;
143 constant
int STERADIANT = 43;
144 constant
int HENRY = 44;
145 constant
int FARAD = 45;
146 constant
int MOL = 46;
147 constant
int BECQUEREL = 47;
148 constant
int GRAY = 48;
149 constant
int SIEVERT = 49;
150 constant
int G_PER_CUBIC_METER = 50;
160 valueobject TypeSpecChangedEvent extends
idl.Event {
180 int setType(in
int type, in
int unit);
open
Definition: Sensor.idl:26
OpenClosedState
Definition: Sensor.idl:25
int readingtype
Sensor reading type
Definition: Sensor.idl:154
OnOffState
Sensor states for DISCRETE_ON_OFF sensors.
Definition: Sensor.idl:20
off
Definition: Sensor.idl:21
Basic IDL definitions.
Definition: Event.idl:6
OkFaultState
Definition: Sensor.idl:35
int unit
Sensor unit
Definition: Sensor.idl:156
Sensor interface
Definition: Sensor.idl:10
int type
Sensor type
Definition: Sensor.idl:155
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
OK.
Definition: Sensor.idl:36
NormalAlarmedState
Definition: Sensor.idl:30
normal (not alarmed)
Definition: Sensor.idl:31
TypeSpec newTypeSpec
Type specification after change.
Definition: Sensor.idl:162
Complete sensor type specification.
Definition: Sensor.idl:153