Added device buttons

This commit is contained in:
watsonb8
2020-01-01 22:31:25 -05:00
parent 80ac6423e5
commit 588205e507
5 changed files with 206 additions and 23 deletions

View File

@ -0,0 +1,5 @@
export interface IDeviceButton {
DeviceName: string;
ButtonName: string;
IsStateful: boolean;
}

View File

@ -1,5 +1,6 @@
import { IMatrix } from "./Matrix";
import { IActivity } from "./Activity";
import { IDeviceButton } from "./DeviceButton";
export interface IControlUnit {
DisplayName: string;
@ -10,4 +11,5 @@ export interface IConfig {
hubIp: string;
Matrix: IMatrix
ControlUnits: Array<IControlUnit>
DeviceButtons: Array<IDeviceButton>
}