Can successfully start an activity on power on.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
export interface IMatrixProps {
|
||||
inputs: Array<Input>,
|
||||
outputs: Array<Output>,
|
||||
deviceName: string,
|
||||
}
|
||||
|
||||
export interface Input {
|
||||
@ -16,10 +17,12 @@ export interface Output {
|
||||
export class Matrix {
|
||||
private _inputs: Array<Input> = [];
|
||||
private _outputs: Array<Output> = [];
|
||||
private _deviceName: string;
|
||||
|
||||
constructor(props: IMatrixProps) {
|
||||
this._inputs = props.inputs;
|
||||
this._outputs = props.outputs;
|
||||
this._deviceName = props.deviceName;
|
||||
}
|
||||
|
||||
public get inputs(): Array<Input> {
|
||||
@ -29,4 +32,8 @@ export class Matrix {
|
||||
public get outputs(): Array<Output> {
|
||||
return this._outputs;
|
||||
}
|
||||
|
||||
public get deviceName(): string {
|
||||
return this._deviceName;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user