1.1.2.5 OcaTemperatureSensor
Class Hierarchy:
OcaRoot : OcaWorker : OcaSensor : OcaTemperatureSensor
-
class OcaTemperatureSensor : OcaSensor
Temperature sensor. Units of measure are Celsius.
Properties:
-
static const OcaClassID ClassID = "1.1.2.5"
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
1.1
.
-
static const OcaClassVersionNumber ClassVersion = 3
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
1.2
.
-
OcaTemperature Reading
Temperature value (Celsius).
This property has id
4.1
.
Properties inherited from 1.1.2 OcaSensor:
OcaMap<OcaPortID, OcaPortClockMapEntry> OcaWorker::PortClockMap
OcaList<OcaPort> OcaWorker::Ports
Methods:
-
OcaStatus GetReading(OcaTemperature &Reading, OcaTemperature &minReading, OcaTemperature &maxReading)
Gets the value and limits of the Reading property.
This method has id
4.1
.Reading: Output parameter.
minReading: Output parameter.
maxReading: Output parameter.
Methods inherited from 1.1.2 OcaSensor:
-
static const OcaClassID ClassID = "1.1.2.5"