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

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

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

        setDeviceProvider("spilds:8100");
        setDeviceTitle("Rabbit Setup");
        setDeviceType("MARTE2_SIMULINK_RABBIT");
        setHeight(400);
        setUpdateEvent("");
        setWidth(500);
        getContentPane().add(deviceButtons1, java.awt.BorderLayout.PAGE_END);

        deviceField1.setIdentifier("");
        deviceField1.setLabelString("Timebase: ");
        deviceField1.setOffsetNid(3);
        jPanel2.add(deviceField1);

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

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

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

        deviceParameters1.setNumParameters(5);
        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 jPanel2;
    private javax.swing.JTabbedPane jTabbedPane1;
    // End of variables declaration//GEN-END:variables
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy