devices.7.138.0.source-code.MARTE2_NI6259_DISetup Maven / Gradle / Ivy
/*
* 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 manduchi
*/
public class MARTE2_NI6259_DISetup extends DeviceSetup
{
/**
*
*/
private static final long serialVersionUID = 1L;
/**
* Creates new form MARTE2_NI6259_DISetup
*/
public MARTE2_NI6259_DISetup()
{
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();
jPanel2 = new javax.swing.JPanel();
deviceField6 = new DeviceField();
deviceField7 = new DeviceField();
jPanel1 = new javax.swing.JPanel();
deviceField1 = new DeviceField();
deviceField2 = new DeviceField();
deviceField3 = new DeviceField();
deviceField4 = new DeviceField();
deviceField5 = new DeviceField();
setDeviceProvider("spilds:8100");
setDeviceTitle("NI6259 Digital Input");
setDeviceType("MARTE2_NI6259_DI");
setHeight(200);
setWidth(700);
getContentPane().add(deviceButtons1, java.awt.BorderLayout.PAGE_END);
deviceField6.setIdentifier("");
deviceField6.setLabelString("Timebase: ");
deviceField6.setNumCols(25);
deviceField6.setOffsetNid(3);
jPanel2.add(deviceField6);
deviceField7.setIdentifier("");
deviceField7.setLabelString("Storage CPUs: ");
deviceField7.setNumCols(4);
deviceField7.setOffsetNid(17);
jPanel2.add(deviceField7);
getContentPane().add(jPanel2, java.awt.BorderLayout.PAGE_START);
deviceField1.setIdentifier("");
deviceField1.setLabelString("Board Id: ");
deviceField1.setNumCols(4);
deviceField1.setOffsetNid(10);
jPanel1.add(deviceField1);
deviceField2.setIdentifier("");
deviceField2.setLabelString("Port 1 Mask: ");
deviceField2.setNumCols(4);
deviceField2.setOffsetNid(31);
jPanel1.add(deviceField2);
deviceField3.setIdentifier("");
deviceField3.setLabelString("Port 2 Mask: ");
deviceField3.setNumCols(4);
deviceField3.setOffsetNid(45);
jPanel1.add(deviceField3);
deviceField4.setIdentifier("");
deviceField4.setLabelString("Port 3 Mask: ");
deviceField4.setNumCols(4);
deviceField4.setOffsetNid(59);
jPanel1.add(deviceField4);
deviceField5.setIdentifier("");
deviceField5.setLabelString("Segment len (0 to disable writing in tree):");
deviceField5.setOffsetNid(23);
jPanel1.add(deviceField5);
getContentPane().add(jPanel1, java.awt.BorderLayout.CENTER);
getAccessibleContext().setAccessibleName("");
}// //GEN-END:initComponents
// Variables declaration - do not modify//GEN-BEGIN:variables
private DeviceButtons deviceButtons1;
private DeviceField deviceField1;
private DeviceField deviceField2;
private DeviceField deviceField3;
private DeviceField deviceField4;
private DeviceField deviceField5;
private DeviceField deviceField6;
private DeviceField deviceField7;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
// End of variables declaration//GEN-END:variables
}