Good start. Debugging needed for both harmony and neeo

This commit is contained in:
watsonb8
2019-07-29 22:31:14 -04:00
parent 31c5c5b9e2
commit 2475aea1c8
9 changed files with 153 additions and 37 deletions

View File

@ -4,7 +4,7 @@ export interface IMatrixProps {
inputs: Array<Input>,
outputs: Array<Output>,
deviceName: string,
hub: hub
hubType: hub
}
export interface Input {
@ -24,13 +24,13 @@ export class Matrix {
private _inputs: Array<Input> = [];
private _outputs: Array<Output> = [];
private _deviceName: string;
private _hub: hub = "Harmony";
private _hubType: hub = "Harmony";
constructor(props: IMatrixProps) {
this._inputs = props.inputs;
this._outputs = props.outputs;
this._deviceName = props.deviceName;
this._hub = props.hub;
this._hubType = props.hubType;
}
public get inputs(): Array<Input> {
@ -44,4 +44,8 @@ export class Matrix {
public get deviceName(): string {
return this._deviceName;
}
public get hubType(): hub {
return this._hubType;
}
}