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

devices.7.138.0.source-code.MARTE2_SIMULINK_DTT_PCSSetup 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 mdsplus
 */
public class MARTE2_SIMULINK_DTT_PCSSetup extends DeviceSetup {

    /**
     * Creates new form MARTE2_SIMULINK_DTT_PCSSetup
     */
    public MARTE2_SIMULINK_DTT_PCSSetup() {
        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();
        deviceField1 = new DeviceField();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        deviceInputs1 = new DeviceInputs();
        deviceOutputs1 = new DeviceOutputs();
        deviceParameters1 = new DeviceParameters();

        setDeviceProvider("localhost:8100");
        setDeviceTitle("DTT Controller");
        setDeviceType("MARTE2_SIMULINK_DTT_PCS");
        setHeight(400);
        setUpdateEvent("");
        setWidth(500);
        getContentPane().add(deviceButtons1, java.awt.BorderLayout.PAGE_END);

        deviceField1.setIdentifier("");
        deviceField1.setLabelString("Timebase: ");
        deviceField1.setNumCols(20);
        deviceField1.setOffsetNid(3);
        jPanel1.add(deviceField1);

        getContentPane().add(jPanel1, java.awt.BorderLayout.PAGE_START);

        deviceInputs1.setOffsetNid(20);
        jTabbedPane1.addTab("Inputs", deviceInputs1);

        deviceOutputs1.setOffsetNid(181);
        jTabbedPane1.addTab("Outputs", deviceOutputs1);

        deviceParameters1.setNumParameters(1);
        deviceParameters1.setOffsetNid(4);
        deviceParameters1.setParameterOffset(4);
        jTabbedPane1.addTab("Parameters", deviceParameters1);

        getContentPane().add(jTabbedPane1, java.awt.BorderLayout.CENTER);
    }// //GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private DeviceButtons deviceButtons1;
    private DeviceField deviceField1;
    private DeviceInputs deviceInputs1;
    private DeviceOutputs deviceOutputs1;
    private DeviceParameters deviceParameters1;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JTabbedPane jTabbedPane1;
    // End of variables declaration//GEN-END:variables
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy