Null ID for absent pucks

This commit is contained in:
gac-S_Changer committed 2025-07-02 14:31:22 +02:00
1 parent 2863a6a88a
commit 3141f7bcb0
1 file changed
+3
+3
View File
@@ -338,6 +338,9 @@ public class Puck extends DeviceBase {
public String getId() {
//return "XXX000" + index;
if (getDetection()!=Detection.Present){
return null;
}
return id;
}