1.1.2.3 OcaTimeIntervalSensor
Class Hierarchy:
OcaRoot → OcaWorker → OcaSensor → OcaTimeIntervalSensor
-
class OcaTimeIntervalSensor : OcaSensor
Time interval sensor.
Properties:
-
static const OcaClassID ClassID = "1.1.2.3"
Number that uniquely identifies the class. Note that this differs from the object number, which identifies the instantiated object. This property is an override of the OcaRoot property.
This property has id
4.1
.
-
static const OcaClassVersionNumber ClassVersion = 2
Identifies the interface version of the class. Any change to the class definition leads to a higher class version. This property is an override of the OcaRoot property.
This property has id
4.2
.
-
OcaTimeInterval Reading
Time interval reading.
This property has id
4.1
.
Properties inherited from OcaSensor:
Properties inherited from OcaWorker:
OcaList<OcaPort> OcaWorker::Ports
OcaTimeInterval OcaWorker::Latency
Properties inherited from OcaRoot:
Methods:
-
OcaStatus GetReading(OcaTimeInterval &Reading, OcaTimeInterval &minReading, OcaTimeInterval &maxReading)
Gets the value and limits of the Reading property. The return value indicates whether the data was successfully retrieved.
This method has id
4.1
.- Parameters
OcaTimeInterval Reading – Output parameter.
OcaTimeInterval minReading – Output parameter.
OcaTimeInterval maxReading – Output parameter.
Methods inherited from OcaSensor:
Methods inherited from OcaWorker:
Methods inherited from OcaRoot:
-
static const OcaClassID ClassID = "1.1.2.3"