Added device buttons
This commit is contained in:
5
src/Models/DeviceButton.ts
Normal file
5
src/Models/DeviceButton.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export interface IDeviceButton {
|
||||
DeviceName: string;
|
||||
ButtonName: string;
|
||||
IsStateful: boolean;
|
||||
}
|
@ -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>
|
||||
}
|
Reference in New Issue
Block a user