node-poweredup/port.ts
2018-06-20 14:58:42 +01:00

21 lines
356 B
TypeScript

import * as Consts from "./consts";
export class Port {
public id: string;
public value: number;
public connected: boolean;
public type: Consts.Devices;
constructor (id: string, value: number) {
this.id = id;
this.value = value;
this.connected = false;
this.type = Consts.Devices.UNKNOWN;
}
}