node-poweredup/port.ts
2018-06-20 13:51:37 +01:00

18 lines
299 B
TypeScript

export class Port {
public id: string;
public value: number;
public connected: boolean;
public type: number | null;
constructor (id: string, value: number) {
this.id = id;
this.value = value;
this.connected = false;
this.type = null;
}
}