UNPKG

klf-200-api

Version:

This module provides a wrapper to the socket API of a Velux KLF-200 interface. You will need at least firmware 0.2.0.0.71 on your KLF interface for this library to work.

25 lines 860 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GW_GET_ALL_GROUPS_INFORMATION_REQ = void 0; const common_js_1 = require("./common.js"); class GW_GET_ALL_GROUPS_INFORMATION_REQ extends common_js_1.GW_FRAME_REQ { constructor(GroupType) { super(2); if (typeof GroupType !== "undefined") { this._useFilter = true; this._groupType = GroupType; this.Data.writeUInt8(1, this.offset); this.Data.writeUInt8(this._groupType, this.offset + 1); } } _useFilter = false; get UseFilter() { return this._useFilter; } _groupType = 0; get GroupType() { return this._groupType; } } exports.GW_GET_ALL_GROUPS_INFORMATION_REQ = GW_GET_ALL_GROUPS_INFORMATION_REQ; //# sourceMappingURL=GW_GET_ALL_GROUPS_INFORMATION_REQ.js.map