node-poweredup/port.js
2018-06-12 16:56:03 +01:00

12 lines
184 B
JavaScript

class Port {
constructor (id, value) {
this.id = id;
this.value = value;
this.connected = false;
this.type = null;
}
}
module.exports = Port;