Good start. Debugging needed for both harmony and neeo
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user