Link samples table to GUI events
This commit is contained in:
@@ -175,6 +175,15 @@ public class Puck extends DeviceBase {
|
||||
}
|
||||
|
||||
public void setId(String value) {
|
||||
for (Device d : getParent().getChildren()) {
|
||||
if (d instanceof Puck) {
|
||||
if (((Puck)d).getId() != null){
|
||||
if (((Puck)d).getId().equals(value)){
|
||||
((Puck)d).setId(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
id = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user