This commit is contained in:
@@ -154,6 +154,14 @@ public class BasePlate extends DeviceBase {
|
||||
return pucksPosition[puck.index];
|
||||
}
|
||||
|
||||
public Puck getPuckByName(String name) {
|
||||
for (Device d : getChildren()) {
|
||||
if (d.getName().equals(name)){
|
||||
return (Puck) d;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
Rectangle plotRect = new Rectangle(0, 0, 0, 0);
|
||||
Rectangle boundingBox;
|
||||
|
||||
Reference in New Issue
Block a user