Package fr.soleil.salsa.entity.impl

Examples of fr.soleil.salsa.entity.impl.TrajectoryImpl


                trajectoryKImpl.setM(trajectoryK.getM());
                trajectoryKImpl.setN(trajectoryK.getN());
                trajectoryImpl = trajectoryKImpl;
            }
            else {
                trajectoryImpl = new TrajectoryImpl();
                Double beginPosition = trajectory.getBeginPosition();
                Double endPosition = trajectory.getEndPosition();
                if (trajectory.getRelative()) {
                    try {
                        Double initialValue = ActuatorConnector.getData(actuator);
View Full Code Here


                tmpTrajectory = trajectoryK;
            }
            else if (element.hasAttribute("from") && element.hasAttribute("to")
                    && element.hasAttribute("id") && element.hasAttribute("delta")) {

                tmpTrajectory = new TrajectoryImpl();
                tmpTrajectory.setBeginPosition(Double.parseDouble(element.getAttribute("from")));
                tmpTrajectory.setEndPosition(Double.parseDouble(element.getAttribute("to")));
                tmpTrajectory.setDelta(Double.parseDouble(element.getAttribute("delta")));

            }
View Full Code Here

            if (trajectorySize < actuatorSize) {
                ITrajectory trajectory = null;
                IActuator tmpActuator = null;
                for (int i = trajectorySize; i < actuatorSize; i++) {
                    tmpActuator = actuatorList.get(i);
                    trajectory = new TrajectoryImpl();
                    trajectory.setName(tmpActuator.getName());
                    trajectoryList.add(trajectory);
                }
                range.setTrajectoriesList(trajectoryList);
            }
View Full Code Here

                trajectoryKImpl.setKMin(trajectoryK.getKMin());
                trajectoryKImpl.setM(trajectoryK.getM());
                trajectoryKImpl.setN(trajectoryK.getN());
                trajectoryImpl = trajectoryKImpl;
            } else {
                trajectoryImpl = new TrajectoryImpl();
                Double beginPosition = trajectory.getBeginPosition();
                Double endPosition = trajectory.getEndPosition();
                if (trajectory.getRelative()) {
                    try {
                        Double initialValue = DeviceConnector.getData(actuator);
View Full Code Here

                trajectoryK.setN(Double.parseDouble(element.getAttribute("n")));
                tmpTrajectory = trajectoryK;
            } else if (element.hasAttribute("from") && element.hasAttribute("to") && element.hasAttribute("id")
                    && element.hasAttribute("delta")) {

                tmpTrajectory = new TrajectoryImpl();
                tmpTrajectory.setBeginPosition(Double.parseDouble(element.getAttribute("from")));
                tmpTrajectory.setEndPosition(Double.parseDouble(element.getAttribute("to")));
                tmpTrajectory.setDelta(Double.parseDouble(element.getAttribute("delta")));

            }
View Full Code Here

                trajectoryKImpl.setM(trajectoryK.getM());
                trajectoryKImpl.setN(trajectoryK.getN());
                trajectoryImpl = trajectoryKImpl;
            }
            else {
                trajectoryImpl = new TrajectoryImpl();
                Double beginPosition = trajectory.getBeginPosition();
                Double endPosition = trajectory.getEndPosition();
                if (trajectory.getRelative()) {
                    try {
                        Double initialValue = ActuatorConnector.getData(actuator);
View Full Code Here

                tmpTrajectory = trajectoryK;
            }
            else if (element.hasAttribute("from") && element.hasAttribute("to")
                    && element.hasAttribute("id") && element.hasAttribute("delta")) {

                tmpTrajectory = new TrajectoryImpl();
                tmpTrajectory.setBeginPosition(Double.parseDouble(element.getAttribute("from")));
                tmpTrajectory.setEndPosition(Double.parseDouble(element.getAttribute("to")));
                tmpTrajectory.setDelta(Double.parseDouble(element.getAttribute("delta")));

            }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.TrajectoryImpl

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.