This commit is contained in:
2018-08-16 10:56:50 +02:00
parent f5737189be
commit 525bb7ee38
9 changed files with 1949 additions and 1799 deletions

View File

@@ -97,7 +97,19 @@ public class Puck extends DeviceBase {
Minispine,
Unipuck,
Error,
Unknown,
Unknown;
public boolean isDefined(){
return (this==Minispine) || (this==Unipuck);
}
}
public String getStatus(){
if ((detection==Detection.Present) && puckType.isDefined()) {
return puckType.toString();
}
return detection.toString();
}
public double getAngle() {