OcaBooleanActuator¶
A online version of the AES70 specification of this class can be found at http://docs.deuso.de.
The class is a subclass of OcaBasicActuator()
.
This class defines the properties
Name |
JavaScript Type |
AES70 Type |
---|---|---|
Setting |
boolean |
OcaBoolean |
Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Enabled, Ports, Label, Owner, Latency and Setting.
-
class
OcaBooleanActuator
(objectNumber, device)¶ Basic boolean actuator.
-
OcaBooleanActuator.
OnSettingChanged
¶ type: PropertyEvent.<boolean>
This event is emitted when the property Setting changes in the remote object. The property
Setting
is described in the AES70 standard as follows. Boolean setting.
-
OcaBooleanActuator.
GetSetting
()¶ Gets the Setting property. The return value indicates whether the data was successfully retrieved.
- Returns
Promise.<boolean> – A promise which resolves to a single value of type
boolean
.
-
OcaBooleanActuator.
SetSetting
(Setting)¶ Sets the Setting property. The return value indicates whether the property was successfully set.
- Arguments
Setting (boolean) –
- Returns
Promise.<void> –
-