"use strict" ; import { GW_FRAME_REQ } from "./common" ; import { NodeVariation } from "./GW_SYSTEMTABLE_DATA" ; export class GW_SET_NODE_VARIATION_REQ extends GW_FRAME_REQ { constructor ( readonly NodeID , readonly NodeVariation = 0 ) { super ( 2 ) ; const buff = this . Data . slice ( this . offset ) ; buff . writeUInt8 ( this . NodeID , 0 ) ; buff . writeUInt8 ( this . NodeVariation , 1 ) ; } }