This commit is contained in:
@@ -12,6 +12,7 @@ import ch.psi.pshell.device.GenericDevice;
|
||||
import ch.psi.pshell.device.ProcessVariableBase;
|
||||
import ch.psi.pshell.device.ReadbackDevice;
|
||||
import ch.psi.pshell.ui.Panel;
|
||||
import ch.psi.utils.swing.SwingUtils;
|
||||
import java.io.IOException;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -215,6 +216,8 @@ public class Controller {
|
||||
void onPuckPressed(Puck puck){
|
||||
//getMainFrame().textDetSensors.setText(String.valueOf(puck.getDetection()));
|
||||
//getMainFrame().textDetImage.setText(String.valueOf(puck.getImageDetection()));
|
||||
|
||||
|
||||
}
|
||||
|
||||
void onSamplePressed(Sample sample){
|
||||
@@ -233,4 +236,15 @@ public class Controller {
|
||||
return getMainFrame().getContext();
|
||||
}
|
||||
|
||||
void execute(String statement){
|
||||
getMainFrame().execute(statement);
|
||||
}
|
||||
|
||||
void execute(String statement, boolean background){
|
||||
getMainFrame().execute(statement, background);
|
||||
}
|
||||
|
||||
void execute(String statement, boolean background, boolean showReturn){
|
||||
getMainFrame().execute(statement, background, showReturn);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user