Package fr.soleil.salsa.entity.scan1d

Examples of fr.soleil.salsa.entity.scan1d.IConfig1D


    }*/

    private static boolean TestSaveConfig() {
        ConfigDAO dao = new ConfigDAO();
        IDirectory root = dao.getRootDirectory();
        IConfig1D dummy = createDummyConfig1D(3, 2, 4);
        dummy.setDirectory(root);

        try {
            IConfig<?> result = dao.saveConfig(dummy);
            if (result != null && result.getId() != null
                    && result.getDirectory().getId() == root.getId()) {
View Full Code Here


                    element.setAttribute("nxEntryName", nxEntryName);
                    if ((action != null) && action.equalsIgnoreCase(ILogService.START_ACTION) && (config != null)) {
                        Element actuators = document.createElement("actuators");
                        ArrayList<ITrajectory> trajectories = new ArrayList<ITrajectory>();
                        if (config instanceof IConfig1D) {
                            IConfig1D config1d = (IConfig1D) config;
                            IDimension1D dimensionX = config1d.getDimensionX();
                            List<IActuator> listActuator = dimensionX.getActuatorsList();
                            List<IRange1D> range1d = dimensionX.getRangesXList();
                            for (int rangeIndex = 0; rangeIndex < range1d.size(); rangeIndex++) {
                                IRange1D range1D = range1d.get(rangeIndex);
                                List<ITrajectory> listTrajectory = range1D.getTrajectoriesList();
View Full Code Here

                            && (config != null)) {
                        Element actuators = document.createElement("actuators");
                        ArrayList<ITrajectory> trajectories = new ArrayList<ITrajectory>();
                        // System.out.println("config=" + config.getClass().getName());
                        if (config instanceof IConfig1D) {
                            IConfig1D config1d = (IConfig1D) config;
                            IDimension1D dimensionX = config1d.getDimensionX();
                            List<IActuator> listActuator = dimensionX.getActuatorsList();
                            // System.out.println("Actuator Size=" + listActuator.size());
                            List<IRange1D> range1d = dimensionX.getRangesXList();
                            // System.out.println("range1d=" + range1d.size());
                            for (int rangeIndex = 0; rangeIndex < range1d.size(); rangeIndex++) {
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.scan1d.IConfig1D

Copyright © 2018 www.massapicom. 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.