Package fr.soleil.salsa.entity.scanenergy

Examples of fr.soleil.salsa.entity.scanenergy.ITrajectoryEnergy


        }

        IDimensionEnergy dimensionEnergy = config.getDimensionX();
        List<IRangeEnergy> rangesList = dimensionEnergy.getRangesEnergyList();
        IRangeEnergy rangeEnergy = rangesList.get(row);
        ITrajectoryEnergy trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList()
                .get(0);

        if (integrationTime == rangeEnergy.getIntegrationTime()) {
            return;
        }
View Full Code Here


        }

        IDimensionEnergy dimensionEnergy = config.getDimensionX();
        List<IRangeEnergy> rangesList = dimensionEnergy.getRangesEnergyList();
        IRangeEnergy rangeEnergy = rangesList.get(row);
        ITrajectoryEnergy trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList()
                .get(0);

        if (stepsNumber == rangeEnergy.getStepsNumber()) {
            return;
        }
View Full Code Here

        List<EnergyTrajectoryLine> energyTrajectoryLines;

        if (config != null) {
            List<IRangeEnergy> rangesList = config.getDimensionX().getRangesEnergyList();
            ITrajectoryEnergy trajectoryEnergy;
            energyTrajectoryLines = new ArrayList<EnergyTrajectoryLine>();
            EnergyTrajectoryLine energyTrajectoryLine;
            int row = 0;
            for (IRangeEnergy rangeEnergy : rangesList) {
                trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList().get(0);
                energyTrajectoryLine = new EnergyTrajectoryLine();
                energyTrajectoryLine.setRange(++row);
                energyTrajectoryLine.setBeginPosition(trajectoryEnergy.getBeginPosition());
                energyTrajectoryLine.setDelta(trajectoryEnergy.getDelta());
                energyTrajectoryLine.setEndPosition(trajectoryEnergy.getEndPosition());
                energyTrajectoryLine.setIntegrationTime(rangeEnergy.getIntegrationTime());
                energyTrajectoryLine.setStepNumber(rangeEnergy.getStepsNumber());
                energyTrajectoryLines.add(energyTrajectoryLine);
            }
        }
View Full Code Here

            IDimensionEnergy dimensionEnergy = config.getDimensionX();
            List<IActuator> actuatorsList = dimensionEnergy.getActuatorsList();
            if (actuatorsList.size() != 0) {
                IActuator actuator = actuatorsList.get(0);
                IRangeEnergy rangeEnergy = createRange(dimensionEnergy);
                ITrajectoryEnergy trajectoryEnergy = createTrajectory(rangeEnergy, actuator);
                List<ITrajectory> trajectoriesList = rangeEnergy.getTrajectoriesList();
                if (trajectoriesList == null) {
                    trajectoriesList = new ArrayList<ITrajectory>();
                    rangeEnergy.setTrajectoriesList(trajectoriesList);
                }
View Full Code Here

        }

        IDimensionEnergy dimensionEnergy = config.getDimensionX();
        List<IRangeEnergy> rangesList = dimensionEnergy.getRangesEnergyList();
        IRangeEnergy rangeEnergy = rangesList.get(row);
        ITrajectoryEnergy trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList()
                .get(0);

        if (trajectoryEnergy.getBeginPosition() == beginPosition) {
            return;
        }

        trajectoryEnergy.setBeginPosition(beginPosition);

        ConfigEnergyApiService.computeBeginPositionChange(trajectoryEnergy, deltaLock);

        refresh();
    }
View Full Code Here

        }

        IDimensionEnergy dimensionEnergy = config.getDimensionX();
        List<IRangeEnergy> rangesList = dimensionEnergy.getRangesEnergyList();
        IRangeEnergy rangeEnergy = rangesList.get(row);
        ITrajectoryEnergy trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList()
                .get(0);

        if (trajectoryEnergy.getDelta() == delta) {
            return;
        }

        trajectoryEnergy.setDelta(delta);

        ;

        ConfigEnergyApiService.computeDeltaChange(trajectoryEnergy);
View Full Code Here

        }

        IDimensionEnergy dimensionEnergy = config.getDimensionX();
        List<IRangeEnergy> rangesList = dimensionEnergy.getRangesEnergyList();
        IRangeEnergy rangeEnergy = rangesList.get(row);
        ITrajectoryEnergy trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList()
                .get(0);

        if (trajectoryEnergy.getEndPosition() == endPosition) {
            return;
        }

        trajectoryEnergy.setEndPosition(endPosition);

        ConfigEnergyApiService.computeEndPositionChange(trajectoryEnergy, deltaLock);

        refresh();
    }
View Full Code Here

        }

        IDimensionEnergy dimensionEnergy = config.getDimensionX();
        List<IRangeEnergy> rangesList = dimensionEnergy.getRangesEnergyList();
        IRangeEnergy rangeEnergy = rangesList.get(row);
        ITrajectoryEnergy trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList()
                .get(0);

        if (integrationTime == rangeEnergy.getIntegrationTime()) {
            return;
        }
View Full Code Here

        }

        IDimensionEnergy dimensionEnergy = config.getDimensionX();
        List<IRangeEnergy> rangesList = dimensionEnergy.getRangesEnergyList();
        IRangeEnergy rangeEnergy = rangesList.get(row);
        ITrajectoryEnergy trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList()
                .get(0);

        if (stepsNumber == rangeEnergy.getStepsNumber()) {
            return;
        }
View Full Code Here

        List<EnergyTrajectoryLine> energyTrajectoryLines;

        if (config != null) {
            List<IRangeEnergy> rangesList = config.getDimensionX().getRangesEnergyList();
            ITrajectoryEnergy trajectoryEnergy;
            energyTrajectoryLines = new ArrayList<EnergyTrajectoryLine>();
            EnergyTrajectoryLine energyTrajectoryLine;
            int row = 0;
            for (IRangeEnergy rangeEnergy : rangesList) {
                trajectoryEnergy = (ITrajectoryEnergy) rangeEnergy.getTrajectoriesList().get(0);
                energyTrajectoryLine = new EnergyTrajectoryLine();
                energyTrajectoryLine.setRange(++row);
                energyTrajectoryLine.setBeginPosition(trajectoryEnergy.getBeginPosition());
                energyTrajectoryLine.setDelta(trajectoryEnergy.getDelta());
                energyTrajectoryLine.setEndPosition(trajectoryEnergy.getEndPosition());
                energyTrajectoryLine.setIntegrationTime(rangeEnergy.getIntegrationTime());
                energyTrajectoryLine.setStepNumber(rangeEnergy.getStepsNumber());
                energyTrajectoryLines.add(energyTrajectoryLine);
            }
        }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.scanenergy.ITrajectoryEnergy

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.