import { SmartenitPlugin } from '../smartenit-plugin'; import { IWebSocketDeviceMessage } from '../../websockets/websocket-device-message.interface'; import { ITextValue } from '../../interfaces/text-value.interface'; import { INumericValue } from '../../interfaces/numeric-value.interface'; import { Observable } from 'rxjs/Observable'; import 'rxjs/add/observable/of'; export declare class ElectricalMeasurementServerPlugin extends SmartenitPlugin implements ITextValue, INumericValue { private supportsEnergyUsage; static OPERATION_MODES: { mode: number; name: string; }[]; getReportableAttrs(): string[]; getUnit(attribute?: string): string; getTotalActivePower(): string; getActivePower(): string; getSummationDelivered(): string; getTotalSummationDelivered(): string; getTotalActivePowerPhases(): string; getActivePowerPhB(): string; getActivePowerPhC(): string; getSummationDeliveredPhB(): string; getSummationDeliveredPhC(): string; getValue(attribute?: string): number; getConditionAttribute(): string; getConditionOptions(): any; getEffectOptions(): any; getEffectAttribute(): string | null; getEffectMethod(context?: any): string | null; setValue(value: number, attribute?: string, subscribe?: boolean): any; getTextValue(context?: string): string; formatValue(value: string): string; getOperationMode(q?: string): void; setOperationMode(mode: number): Observable | null | undefined; /** * @param name 16 char string * @param channel 3 values only 1, 2, or 3 */ setChannelName(name: string, channel: 1 | 2 | 3): void; getStatusPayload(): any; processMessage(message: IWebSocketDeviceMessage, timestamp?: number): any; }