OcaInt32Sensor¶
A online version of the AES70 specification of this class can be found at http://docs.deuso.de.
The class is a subclass of OcaBasicSensor()
.
This class defines the properties
Name |
JavaScript Type |
AES70 Type |
---|---|---|
Reading |
number |
OcaInt32 |
Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Enabled, Ports, Label, Owner, Latency, ReadingState and Reading.
-
class
OcaInt32Sensor
(objectNumber, device)¶ Basic int32 sensor.
-
OcaInt32Sensor.
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. Int32 reading.
-
OcaInt32Sensor.
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>> –
-