UNPKG

aes70

Version:

A controller library for the AES70 protocol.

44 lines (39 loc) 1.26 kB
import { Arguments } from '../arguments.js'; import { PropertyEvent } from '../property_event.js'; import { RemoteDevice } from '../remote_device.js'; import { OcaBasicActuator } from './OcaBasicActuator.js'; /** * 64-bit unsigned integer actuator * @extends OcaBasicActuator * @class OcaUint64Actuator */ export declare class OcaUint64Actuator extends OcaBasicActuator { /** * This event is emitted whenever Setting changes. */ OnSettingChanged: PropertyEvent<number | BigInt>; constructor(objectNumber: number, device: RemoteDevice); /** * 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 OcaUint64Actuator#GetSetting * @returns {Promise<Arguments<number|BigInt,number|BigInt,number|BigInt>>} */ GetSetting(): Promise< Arguments<[number | BigInt, number | BigInt, number | BigInt]> >; /** * Sets the value of the **Setting** property. * * @method OcaUint64Actuator#SetSetting * @param {number|BigInt} Setting * * @returns {Promise<void>} */ SetSetting(Setting: number | BigInt): Promise<void>; }