lavva.exalushome.extalife
Version:
Library implementing communication and abstraction layers for ExtaLife API in ExalusHome system
19 lines (18 loc) • 1.22 kB
TypeScript
import { IRck21ConfigService } from "./IRck21ConfigService";
import { Status } from "lavva.exalushome/build/js/DataFrame";
import { Rck21ConfigParams, ReedSwitchOperationMode } from "./Rck21ConfigParams";
import { GetParamsErrorCode, SynchronizationTime } from "../../../ExtaLife";
import { IDevice } from "lavva.exalushome/build/js/Services/Devices/IDevice";
import { ResponseResult } from "lavva.exalushome/build/js/Services/FieldChangeResult";
export declare class Rck21ConfigService implements IRck21ConfigService {
private _connection;
static readonly ServiceName: string;
constructor();
GetServiceName(): string;
GetAllParamsAsync(device: IDevice, channel: number): Promise<Rck21ConfigParams | ResponseResult<GetParamsErrorCode>>;
SetAllParamsAsync(params: Rck21ConfigParams, channel: number): Promise<Status>;
SetReedSwitchOperationModeAsync(device: IDevice, channel: number, operationMode: ReedSwitchOperationMode): Promise<Status>;
SetSynchronizationTimeAsync(device: IDevice, channel: number, syncTime: SynchronizationTime): Promise<Status>;
SetLogicNegationAsync(device: IDevice, channel: number, logicNegation: boolean): Promise<Status>;
private GetCurrentConfig;
}