This commit is contained in:
gac-S_Changer
2018-07-06 11:28:19 +02:00
parent 8800ea11be
commit 86d50a3de0
3 changed files with 265 additions and 358 deletions

View File

@@ -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);
}
}