UNPKG

isy-nodejs

Version:

Node.js wrapper for ISY interface including websockets for change notifications. Fork of isy-js by Rod Toll. Designed to be used in a node.js application.

10 lines (9 loc) 311 B
import { ISYEvent } from './ISYEvent.js'; import { EventType } from './EventType.js'; export class NodeEvent<TActionType, TEventType extends EventType> extends ISYEvent<TActionType, TEventType> { nodeAddress: string; constructor(eventData: any) { super(eventData); this.nodeAddress = eventData.node; } }