All Downloads are FREE. Search and download functionalities are using the official Maven repository.

devices.7.139.55.source-code.LASER_QSMARTSetup Maven / Gradle / Ivy

There is a newer version: 7.139.60
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author taliercio
 */
public class LASER_QSMARTSetup extends DeviceSetup {

    /**
     * Creates new form LASER_QSMARTSetup
     */
    public LASER_QSMARTSetup() {
        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();
        jPanel3 = new javax.swing.JPanel();
        deviceField2 = new DeviceField();
        deviceField3 = new DeviceField();
        jPanel5 = new javax.swing.JPanel();
        deviceField6 = new DeviceField();
        deviceField7 = new DeviceField();
        jPanel7 = new javax.swing.JPanel();
        deviceField4 = new DeviceField();
        deviceField5 = new DeviceField();
        jPanel4 = new javax.swing.JPanel();
        deviceChoice1 = new DeviceChoice();
        deviceField11 = new DeviceField();
        jPanel6 = new javax.swing.JPanel();
        deviceField8 = new DeviceField();
        deviceField9 = new DeviceField();
        deviceField10 = new DeviceField();

        setDeviceProvider("soserver.nbtf:9123");
        setDeviceTitle("Quantel Q-smart 450/850 Pulsed Nd:YAG Laser");
        setDeviceType("LASER_QSMART");
        setHeight(300);
        setWidth(840);
        getContentPane().add(deviceButtons1, java.awt.BorderLayout.PAGE_END);

        jPanel1.setLayout(new java.awt.GridLayout(6, 0));

        deviceField1.setIdentifier("");
        deviceField1.setLabelString("Comment:");
        deviceField1.setNumCols(30);
        deviceField1.setOffsetNid(3);
        jPanel2.add(deviceField1);
        jPanel2.add(deviceDispatch1);

        jPanel1.add(jPanel2);

        deviceField2.setIdentifier("");
        deviceField2.setLabelString("IP Address:");
        deviceField2.setNumCols(20);
        deviceField2.setOffsetNid(1);
        deviceField2.setTextOnly(true);
        jPanel3.add(deviceField2);

        deviceField3.setIdentifier("");
        deviceField3.setLabelString("Port:");
        deviceField3.setOffsetNid(2);
        jPanel3.add(deviceField3);

        jPanel1.add(jPanel3);

        deviceField6.setIdentifier("");
        deviceField6.setLabelString("Delay FlashLamp - QSwitch [ns]:");
        deviceField6.setOffsetNid(11);
        jPanel5.add(deviceField6);

        deviceField7.setIdentifier("");
        deviceField7.setLabelString("Delay QSwitch - QSwitch Synch. Out [ns]:");
        deviceField7.setOffsetNid(12);
        jPanel5.add(deviceField7);

        jPanel1.add(jPanel5);

        deviceField4.setIdentifier("");
        deviceField4.setLabelString("FlashLamp Voltage [V]:");
        deviceField4.setOffsetNid(4);
        jPanel7.add(deviceField4);

        deviceField5.setIdentifier("");
        deviceField5.setLabelString("FlashLamp Pulse Width [us]:");
        deviceField5.setOffsetNid(5);
        jPanel7.add(deviceField5);

        jPanel1.add(jPanel7);

        deviceChoice1.setChoiceItems(new String[] {"FL-INT QS-INT", "FL-INT QS-EXT", "FL-EXT QS-INT", "FL-EXT QS-EXT"});
        deviceChoice1.setIdentifier("");
        deviceChoice1.setLabelString("FL QS Mode:");
        deviceChoice1.setOffsetNid(6);
        deviceChoice1.setUpdateIdentifier("");
        jPanel4.add(deviceChoice1);

        deviceField11.setIdentifier("");
        deviceField11.setLabelString("FL External Frequency [Hz]");
        deviceField11.setOffsetNid(7);
        jPanel4.add(deviceField11);

        jPanel1.add(jPanel4);

        deviceField8.setIdentifier("");
        deviceField8.setLabelString("QS PAR1 [pulse]:");
        deviceField8.setOffsetNid(8);
        jPanel6.add(deviceField8);

        deviceField9.setIdentifier("");
        deviceField9.setLabelString("QS PAR2 [pulse]:");
        deviceField9.setOffsetNid(9);
        jPanel6.add(deviceField9);

        deviceField10.setIdentifier("");
        deviceField10.setLabelString("QS PAR3 [pulse]:");
        deviceField10.setOffsetNid(10);
        jPanel6.add(deviceField10);

        jPanel1.add(jPanel6);

        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 deviceField10;
    private DeviceField deviceField11;
    private DeviceField deviceField2;
    private DeviceField deviceField3;
    private DeviceField deviceField4;
    private DeviceField deviceField5;
    private DeviceField deviceField6;
    private DeviceField deviceField7;
    private DeviceField deviceField8;
    private DeviceField deviceField9;
    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;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    // End of variables declaration//GEN-END:variables
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy