devices.7.138.0.source-code.LASER_YAGSetup Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* LASER_SSSetup.java
*
* Created on 18-feb-2011, 9.36.23
*/
/**
*
* @author simionato
*/
public class LASER_YAGSetup extends DeviceSetup
{
/**
*
*/
private static final long serialVersionUID = 1L;
/** Creates new form LASER_SSSetup */
public LASER_YAGSetup()
{
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// //GEN-BEGIN:initComponents
private void initComponents()
{
deviceButtons1 = new DeviceButtons();
jPanel1 = new javax.swing.JPanel();
jPanel2 = new javax.swing.JPanel();
deviceField1 = new DeviceField();
deviceDispatch1 = new DeviceDispatch();
jPanel5 = new javax.swing.JPanel();
deviceChoice1 = new DeviceChoice();
deviceField5 = new DeviceField();
deviceField9 = new DeviceField();
jPanel3 = new javax.swing.JPanel();
deviceField4 = new DeviceField();
jLabel1 = new javax.swing.JLabel();
deviceField6 = new DeviceField();
jLabel3 = new javax.swing.JLabel();
deviceField2 = new DeviceField();
jPanel4 = new javax.swing.JPanel();
deviceField7 = new DeviceField();
jLabel2 = new javax.swing.JLabel();
deviceField8 = new DeviceField();
jLabel4 = new javax.swing.JLabel();
setDeviceProvider("localhost");
setDeviceTitle("Solid State Laser");
setDeviceType("LASER_YAG");
setHeight(550);
setWidth(700);
deviceButtons1.setMethods(new String[]
{ "INIT", "ARM" });
getContentPane().add(deviceButtons1, java.awt.BorderLayout.PAGE_END);
jPanel1.setLayout(new java.awt.GridLayout(4, 1));
deviceField1.setIdentifier("");
deviceField1.setLabelString("Comment:");
deviceField1.setNumCols(20);
deviceField1.setOffsetNid(1);
deviceField1.setTextOnly(true);
jPanel2.add(deviceField1);
jPanel2.add(deviceDispatch1);
jPanel1.add(jPanel2);
deviceChoice1.setChoiceItems(new String[]
{ "LOCAL", "REMOTE" });
deviceChoice1.setIdentifier("");
deviceChoice1.setLabelString("sw mode:");
deviceChoice1.setOffsetNid(2);
deviceChoice1.setUpdateIdentifier("");
jPanel5.add(deviceChoice1);
deviceField5.setIdentifier("");
deviceField5.setLabelString("ip_address:");
deviceField5.setOffsetNid(3);
jPanel5.add(deviceField5);
deviceField9.setIdentifier("");
deviceField9.setLabelString("Port:");
deviceField9.setOffsetNid(10);
deviceField9.setTextOnly(true);
jPanel5.add(deviceField9);
jPanel1.add(jPanel5);
deviceField4.setIdentifier("");
deviceField4.setLabelString("energy:");
deviceField4.setOffsetNid(4);
jPanel3.add(deviceField4);
jLabel1.setText("J");
jPanel3.add(jLabel1);
deviceField6.setIdentifier("");
deviceField6.setLabelString("repetition rate:");
deviceField6.setOffsetNid(5);
jPanel3.add(deviceField6);
jLabel3.setText("Hz");
jPanel3.add(jLabel3);
deviceField2.setIdentifier("");
deviceField2.setLabelString("nr pulses:");
deviceField2.setOffsetNid(6);
jPanel3.add(deviceField2);
jPanel1.add(jPanel3);
deviceField7.setIdentifier("");
deviceField7.setLabelString("delay diode:");
deviceField7.setOffsetNid(8);
jPanel4.add(deviceField7);
jLabel2.setText("us");
jPanel4.add(jLabel2);
deviceField8.setIdentifier("");
deviceField8.setLabelString("delay lamp:");
deviceField8.setOffsetNid(7);
jPanel4.add(deviceField8);
jLabel4.setText("us");
jPanel4.add(jLabel4);
jPanel1.add(jPanel4);
getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
}// //GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private DeviceButtons deviceButtons1;
private DeviceChoice deviceChoice1;
private DeviceDispatch deviceDispatch1;
private DeviceField deviceField1;
private DeviceField deviceField2;
private DeviceField deviceField4;
private DeviceField deviceField5;
private DeviceField deviceField6;
private DeviceField deviceField7;
private DeviceField deviceField8;
private DeviceField deviceField9;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JPanel jPanel5;
// End of variables declaration//GEN-END:variables
}