Startup
This commit is contained in:
@@ -17,7 +17,12 @@ import javax.swing.JTextField;
|
||||
* @author boccioli_m
|
||||
*/
|
||||
public class Kollimators extends javax.swing.JPanel {
|
||||
|
||||
|
||||
/**
|
||||
* global variables needed by the class
|
||||
*/
|
||||
ChannelDouble channel;
|
||||
String g_deviceName;
|
||||
/**
|
||||
* Creates new form Kollimators
|
||||
* !!!! COMPULSORY FOR THE CALL FROM THE PLUGIN TESTINGLIST !!!!!
|
||||
@@ -40,18 +45,17 @@ public class Kollimators extends javax.swing.JPanel {
|
||||
public void animate(String deviceName) {
|
||||
g_deviceName = deviceName;
|
||||
jLabelDeviceName.setText(deviceName);
|
||||
connectString(deviceName+":STA:2", jTextSta); //for Strings
|
||||
connect(deviceName+":DIST:2", jTextDist); //for Numbers
|
||||
connect(deviceName+":IST1:1", jTextIst1);
|
||||
connect(deviceName+":IST2:1", jTextIst2);
|
||||
connect(deviceName+":REF1:1", jTextRef1);
|
||||
connect(deviceName+":REF2:1", jTextRef2);
|
||||
connectString(deviceName+":STA:2", jTextSta); //connect (like camon) for Strings
|
||||
connect(deviceName+":DIST:2", jTextDist);//connect (like camon) for Numbers
|
||||
connect(deviceName+":IST1:1", jTextIst1);//connect (like camon) for Numbers
|
||||
connect(deviceName+":IST2:1", jTextIst2);//connect (like camon) for Numbers
|
||||
connect(deviceName+":REF1:1", jTextRef1);//connect (like camon) for Numbers
|
||||
connect(deviceName+":REF2:1", jTextRef2);//connect (like camon) for Numbers
|
||||
connect(deviceName+":IST1:1", jTextDir);//TODO: real channel??
|
||||
connect(deviceName+":STA2:1", jTextRes);//TODO: real channel??
|
||||
}
|
||||
|
||||
ChannelDouble channel;
|
||||
String g_deviceName;
|
||||
|
||||
|
||||
//Overridable callbacks
|
||||
public void onInitialize(int runCount) {
|
||||
|
||||
Reference in New Issue
Block a user