Null ID for absent pucks
This commit is contained in:
@@ -338,6 +338,9 @@ public class Puck extends DeviceBase {
|
||||
|
||||
public String getId() {
|
||||
//return "XXX000" + index;
|
||||
if (getDetection()!=Detection.Present){
|
||||
return null;
|
||||
}
|
||||
return id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user