UNPKG

lavva.exalushome.extalife

Version:

Library implementing communication and abstraction layers for ExtaLife API in ExalusHome system

20 lines (19 loc) 1.54 kB
import { ResponseResult, FieldChangeResultType } from "lavva.exalushome/build/js/Services/FieldChangeResult"; import { IDeviceChannel } from "../../../../../exalushome-library/build/js/Services/Devices/IDeviceChannel"; import { GetParamsErrorCode } from "../../../ExtaLife"; import { ISbrConfigService, SbrAutoCloseTime, SbrServiceInfo } from "./ISbrConfigService"; export declare class SbrConfigService implements ISbrConfigService { static readonly ServiceName: string; private _connection; private _logger; private _controllerConfigurationService; constructor(); GetServiceName(): string; SetAutoCloseTimeAsync(deviceChannel: IDeviceChannel, timeInMiliseconds: number, resetOnCrossToOn: boolean): Promise<ResponseResult<FieldChangeResultType>>; GetAutoCloseTimeAsync(deviceChannel: IDeviceChannel): Promise<ResponseResult<GetParamsErrorCode> | SbrAutoCloseTime>; SetAlarmLightDelayAsync(deviceChannel: IDeviceChannel, lightDelayInMiliseconds: number): Promise<ResponseResult<FieldChangeResultType>>; GetAlarmLightDelayAsync(deviceChannel: IDeviceChannel): Promise<number | ResponseResult<GetParamsErrorCode>>; SetAlarmLightDurationAsync(deviceChannel: IDeviceChannel, lightDurationInMiliseconds: number): Promise<ResponseResult<FieldChangeResultType>>; GetAlarmLightDurationAsync(deviceChannel: IDeviceChannel): Promise<number | ResponseResult<GetParamsErrorCode>>; GetServiceInfoAsync(deviceChannel: IDeviceChannel): Promise<ResponseResult<GetParamsErrorCode> | SbrServiceInfo>; }