This commit is contained in:
2018-04-19 17:35:54 +02:00
parent 1e2fee44d0
commit 109e81aecb
12 changed files with 315 additions and 181 deletions

View File

@@ -36,9 +36,9 @@ public class PuckState {
void set(int mecSwitch, int indSwitch) {
online = true;
//TODO: Hanfle -1 value: error
//TODO: Handle -1 value: error
this.mecSwitch = mecSwitch ==1;
this.indSwitch = mecSwitch ==1;
this.indSwitch = indSwitch ==1;
BasePlate basePlate = getBasePlate();
if (basePlate != null) {
if (this.mecSwitch != this.indSwitch) {