UNPKG

aes70

Version:

A controller library for the AES70 protocol.

34 lines (30 loc) 1.13 kB
import { OcaImpedance } from '../../types/OcaImpedance'; import { Arguments } from '../arguments'; import { PropertyEvent } from '../property_event'; import { RemoteDevice } from '../remote_device'; import { OcaSensor } from './OcaSensor'; /** * Basic impedance sensor. Value is complex (magnitude and phase). * @extends OcaSensor * @class OcaImpedanceSensor */ export declare class OcaImpedanceSensor extends OcaSensor { /** * This event is emitted whenever Reading changes. */ OnReadingChanged: PropertyEvent<OcaImpedance>; 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 ``IOcaImpedance`` * - minReading of type ``IOcaImpedance`` * - maxReading of type ``IOcaImpedance`` * * @method OcaImpedanceSensor#GetReading * @returns {Promise<Arguments<OcaImpedance,OcaImpedance,OcaImpedance>>} */ GetReading(): Promise<Arguments<[OcaImpedance, OcaImpedance, OcaImpedance]>>; }