OcaSensor¶
A online version of the AES70 specification of this class can be found at http://docs.deuso.de.
The class is a subclass of OcaWorker()
.
This class defines the properties
Name |
JavaScript Type |
AES70 Type |
---|---|---|
ReadingState |
OcaSensorReadingState |
OcaSensorReadingState |
Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Enabled, Ports, Label, Owner, Latency and ReadingState.
-
class
OcaSensor
(objectNumber, device)¶ Abstract base class for all sensor classes.
-
OcaSensor.
GetReadingState
()¶ Gets the current reading state of the sensor. The return value indicates whether the state was successfully retrived.
- Returns
Promise.<OcaSensorReadingState> – A promise which resolves to a single value of type
OcaSensorReadingState()
.
-