UNPKG

aes70

Version:

A controller library for the AES70 protocol.

35 lines (31 loc) 1.07 kB
import { Arguments } from '../arguments'; import { PropertyEvent } from '../property_event'; import { RemoteDevice } from '../remote_device'; import { OcaBasicSensor } from './OcaBasicSensor'; /** * Basic Uint64 sensor. * @extends OcaBasicSensor * @class OcaUint64Sensor */ export declare class OcaUint64Sensor extends OcaBasicSensor { /** * This event is emitted whenever Reading changes. */ OnReadingChanged: PropertyEvent<number | BigInt>; constructor(objectNumber: number, device: RemoteDevice); /** * Gets the value and limits of the **Reading** property. The return value * indicates whether the data was successfully retrieved. * The return values of this method are * * - Reading of type ``number|BigInt`` * - minReading of type ``number|BigInt`` * - maxReading of type ``number|BigInt`` * * @method OcaUint64Sensor#GetReading * @returns {Promise<Arguments<number|BigInt,number|BigInt,number|BigInt>>} */ GetReading(): Promise< Arguments<[number | BigInt, number | BigInt, number | BigInt]> >; }