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.

18 lines 739 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GW_CS_SYSTEM_TABLE_UPDATE_NTF = void 0; const BitArray_js_1 = require("../utils/BitArray.js"); const common_js_1 = require("./common.js"); class GW_CS_SYSTEM_TABLE_UPDATE_NTF extends common_js_1.GW_FRAME_NTF { AddedNodes; RemovedNodes; constructor(Data) { super(Data); // Added nodes this.AddedNodes = (0, BitArray_js_1.bitArrayToArray)(this.Data.subarray(0, 26)); // Removed nodes this.RemovedNodes = (0, BitArray_js_1.bitArrayToArray)(this.Data.subarray(26, 52)); } } exports.GW_CS_SYSTEM_TABLE_UPDATE_NTF = GW_CS_SYSTEM_TABLE_UPDATE_NTF; //# sourceMappingURL=GW_CS_SYSTEM_TABLE_UPDATE_NTF.js.map