This commit is contained in:
gac-S_Changer
2018-09-04 13:31:11 +02:00
parent 45498381d3
commit 61ca6a6bc4
4 changed files with 87 additions and 8 deletions

View File

@@ -89,7 +89,15 @@ public class BasePlate extends DeviceBase {
}
return null;
}
Puck.Detection[] getDetection(){
Puck.Detection[] ret = new Puck.Detection[Controller.NUMBER_OF_PUCKS];
for (int i=0; i<ret.length;i++){
ret[i] = getPucks()[i].detection;
}
return ret;
}
Sample getSelectedSample(){
Puck puck = getSelectedPuck();
if (puck != null){