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