Examples of Config1DImpl


Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

    /**
     * Default constructor, that creates a new instance of {@link Config1DImpl} and wraps it.
     */
    public Config1DModel() {
        this(new Config1DImpl());
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

    /**
     * Default constructor, that creates a new instance of {@link Config1DImpl} and wraps it.
     */
    public Config1DModel() {
        this(new Config1DImpl());
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

        if ((configName != null) && (!configName.trim().isEmpty()) && (type != null)) {
            IConfig<?> config;
            IConfig<?> configModel = null;
            switch (type) {
                case SCAN_1D:
                    config = new Config1DImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) config).setDimensionX(new Dimension1DImpl());
                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

    /**
     * Default constructor, that creates a new instance of Config1DImpl and wraps it.
     */
    public Config1DModel() {
        this(new Config1DImpl());
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

        for (Configuration c : configs) {
            String type = c.getType();
            IConfig<?> scan = null;
            if (type.equals("Config1DImpl") || type.equals("Config1D")) {
                scan = new Config1DImpl(); // new Config1D();
                scan.setType(IConfig.ScanType.SCAN_1D);
            }
            else if (type.equals("Config2DImpl") || type.equals("Config2D")) {
                scan = new Config2DImpl(); // new Config1D();
                scan.setType(IConfig.ScanType.SCAN_2D);
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

        */
    }

    private static IConfig1D createDummyConfig1D(int _nbActuators, int _nbSensors, int _nbRanges) {

        Config1DImpl nc = new Config1DImpl();
        nc.setName("TST_NouvelleConfigAuto");
        nc.setScanNumber(666);

        nc.setTimebaseList(new ArrayList<ITimebase>());
        TimebaseImpl tb = new TimebaseImpl();
        tb.setName("timebase01");
        tb.setEnabled(true);
        nc.getTimebaseList().add(tb);
        // Sensors

        for (int i = 0; i < _nbSensors; i++) {
            ISensor s = new SensorImpl();
            s.setName("/mon/sensor/" + i);
            s.setEnabled(i % 2 == 1);
            nc.getSensorsList().add(s);
        }
        // Dimension
        Dimension1DImpl dim = new Dimension1DImpl();
        dim.setTrajectoriesList(new ArrayList<ITrajectory1D>());
        nc.setDimensionX(dim);

        dim.setRangesXList(new ArrayList<IRange1D>());
        for (int i = 0; i < _nbRanges; i++) {
            IRange1D r = new Range1DImpl();
            r.setDimension(dim);
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

        if ((configName != null) && (!configName.trim().isEmpty()) && (type != null)) {
            IConfig<?> config;
            IConfig<?> configModel = null;
            switch (type) {
                case SCAN_1D:
                    config = new Config1DImpl();
                    config.setScanAddOn(new ScanAddOnImp());
                    config.getScanAddOn().setDisplay(new DisplayImpl());
                    ((IConfig1D) config).setDimensionX(new Dimension1DImpl());
                    // Creates one range for a new 1D config.
                    IRange1D range1DToAdd = new Range1DImpl();
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

        for (Configuration c : configs) {
            String type = c.getType();
            IConfig<?> scan = null;
            if (type.equals("Config1DImpl") || type.equals("Config1D")) {
                scan = new Config1DImpl(); // new Config1D();
                scan.setType(IConfig.ScanType.SCAN_1D);
            }
            else if (type.equals("Config2DImpl") || type.equals("Config2D")) {
                scan = new Config2DImpl(); // new Config1D();
                scan.setType(IConfig.ScanType.SCAN_2D);
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

    /**
     * Default constructor, that creates a new instance of Config1DImpl and wraps it.
     */
    public Config1DModel() {
        this(new Config1DImpl());
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.scan1d.Config1DImpl

    /**
     * Default constructor, that creates a new instance of {@link Config1DImpl} and wraps it.
     */
    public Config1DModel() {
        this(new Config1DImpl());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.