aes70
Version:
A controller library for the AES70 protocol.
50 lines (47 loc) • 1.35 kB
JavaScript
import { OcaInt64 } from '../../OCP1/OcaInt64.js';
import { make_control_class } from '../make_control_class.js';
import { OcaBasicActuator } from './OcaBasicActuator.js';
/**
* 64-bit signed integer actuator
* @extends OcaBasicActuator
* @class OcaInt64Actuator
*/
export const OcaInt64Actuator = make_control_class(
'OcaInt64Actuator',
5,
'\u0001\u0001\u0001\u0001\u0005',
3,
OcaBasicActuator,
[
['GetSetting', 5, 1, [], [OcaInt64, OcaInt64, OcaInt64]],
['SetSetting', 5, 2, [OcaInt64], []],
],
[['Setting', [OcaInt64], 5, 1, false, false, null]],
[]
);
/**
* Gets the value and limits of the **Setting** property.
* The return values of this method are
*
* - Setting of type ``number|BigInt``
* - minSetting of type ``number|BigInt``
* - maxSetting of type ``number|BigInt``
*
* @method OcaInt64Actuator#GetSetting
* @returns {Promise<Arguments<number|BigInt,number|BigInt,number|BigInt>>}
*/
/**
* Sets the **Setting** property.
*
* @method OcaInt64Actuator#SetSetting
* @param {number|BigInt} Value
*
* @returns {Promise<void>}
*/
/**
* This event is emitted when the property ``Setting`` changes in the remote object.
* The property ``Setting`` is described in the AES70 standard as follows.
* Int64 setting.
*
* @member {PropertyEvent<number|BigInt>} OcaInt64Actuator#OnSettingChanged
*/