OcaUint16Sensor¶
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 |
OcaUint16 |
Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Enabled, Ports, Label, Owner, Latency, ReadingState and Reading.
-
class
OcaUint16Sensor
(objectNumber, device)¶ Basic uint16 sensor.
-
OcaUint16Sensor.
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. Uint16 reading.
-
OcaUint16Sensor.
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>> –
-