OcaTemperatureActuator¶
A online version of the AES70 specification of this class can be found at http://docs.deuso.de.
The class is a subclass of OcaActuator()
.
This class defines the properties
Name |
JavaScript Type |
AES70 Type |
---|---|---|
Temperature |
number |
OcaTemperature |
Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Enabled, Ports, Label, Owner, Latency and Temperature.
-
class
OcaTemperatureActuator
(objectNumber, device)¶ A temperature actuator. Works in Celsius.
-
OcaTemperatureActuator.
OnTemperatureChanged
¶ type: PropertyEvent.<number>
This event is emitted when the property Temperature changes in the remote object. The property
Temperature
is described in the AES70 standard as follows. The temperature.
-
OcaTemperatureActuator.
GetTemperature
()¶ Gets the value of the Temperature property. The return value indicates whether the property was successfully retrieved. The return values of this method are
temperature of type
number
minTemperature of type
number
maxTemperature of type
number
- Returns
Promise.<Arguments.<number, number, number>> –
-
OcaTemperatureActuator.
SetTemperature
(temperature)¶ Sets the value of the Temperature property. The return value indicates whether the property was successfully set.
- Arguments
temperature (number) –
- Returns
Promise.<void> –
-