OcaTemperatureSensor

A online version of the AES70 specification of this class can be found at http://docs.deuso.de.

The class is a subclass of OcaSensor().

This class defines the properties

Name

JavaScript Type

AES70 Type

Reading

number

OcaTemperature

Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Enabled, Ports, Label, Owner, Latency, ReadingState and Reading.

class OcaTemperatureSensor(objectNumber, device)

Basic temperature sensor.

OcaTemperatureSensor.OnReadingChanged

type: PropertyEvent.<number>

This event is emitted when the property Reading changes in the remote object. The property Reading is described in the AES70 standard as follows. Temperature value (Celsius).

OcaTemperatureSensor.GetReading()

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

  • Reading of type number

  • minReading of type number

  • maxReading of type number

Returns

Promise.<Arguments.<number, number, number>>