1.1.2.1.6 OcaUint8Sensor

Class Hierarchy:

OcaRootOcaWorkerOcaSensorOcaBasicSensorOcaUint8Sensor

class OcaUint8Sensor : OcaBasicSensor

Basic uint8 sensor.

Properties:

static const OcaClassID ClassID = "1.1.2.1.6"

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 5.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 5.2.

OcaUint8 Reading

Uint8 reading.

This property has id 5.1.

Properties inherited from OcaSensor:

Properties inherited from OcaWorker:

Properties inherited from OcaRoot:

Methods:

OcaStatus GetReading(OcaUint8 &Reading, OcaUint8 &minReading, OcaUint8 &maxReading)

Gets the value and limits of the Reading property. The return value indicates whether the data was successfully retrieved.

This method has id 5.1.

Parameters
  • OcaUint8 Reading – Output parameter.

  • OcaUint8 minReading – Output parameter.

  • OcaUint8 maxReading – Output parameter.

Methods inherited from OcaSensor:

Methods inherited from OcaWorker:

Methods inherited from OcaRoot: