1.1.2.1.1 OcaBooleanSensor

Class Hirarchy:

OcaRootOcaWorkerOcaSensorOcaBasicSensorOcaBooleanSensor

class OcaBooleanSensor : OcaBasicSensor

Basic boolean sensor.

Properties:

OcaClassID ClassID

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.

OcaClassVersionNumber ClassVersion

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.

OcaBoolean Reading

Boolean reading.

This property has id 5.1.

Properties inherited from OcaSensor:

Properties inherited from OcaWorker:

Properties inherited from OcaRoot:

Methods:

OcaStatus GetReading(OcaBoolean &Reading)

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

This method has id 5.1.

Parameters

OcaBoolean Reading – Output parameter.

Methods inherited from OcaSensor:

Methods inherited from OcaWorker:

Methods inherited from OcaRoot: