Examples of ITrajectoryHCS


Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

        List<ITrajectory> lt1 = r1.getTrajectoriesList();
        List<ITrajectory> lt2 = r2.getTrajectoriesList();
        if (lt1.size() == lt2.size()) {
            int size = lt1.size();
            for (int i = 0; i < size; i++) {
                ITrajectoryHCS t1 = (ITrajectoryHCS) lt1.get(i);
                ITrajectoryHCS t2 = (ITrajectoryHCS) lt2.get(i);
                swapTrajectory(t1, t2);
            }
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

    }

    public static void computeBeginPositionChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {

        ITrajectoryHCS trajectoryImpl = AutoCopier.toImpl(trajectory, TrajectoryHCSImpl.class);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeBeginPositionChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        swapTrajectory(trajectory, result);
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

        swapTrajectory(trajectory, result);
    }

    public static void computeEndPositionChange(ITrajectoryHCS trajectory, double integrationTime,
            int numberOfPoints) {
        ITrajectoryHCS trajectoryImpl = AutoCopier.toImpl(trajectory, TrajectoryHCSImpl.class);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeEndPositionChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        swapTrajectory(trajectory, result);

    }
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

    }

    public static void computeIntegrationTimeChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {

        ITrajectoryHCS trajectoryImpl = AutoCopier.toImpl(trajectory, TrajectoryHCSImpl.class);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeIntegrationTimeChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        swapRange(trajectory.getRange(), result.getRange());
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

    }

    public static void computeNumberOfPointsChange(ITrajectoryHCS trajectory,
            double integrationTime, int numberOfPoints) {

        ITrajectoryHCS trajectoryImpl = AutoCopier.toImpl(trajectory, TrajectoryHCSImpl.class);

        ITrajectoryHCS result = (ITrajectoryHCS) ConfigHCSApi.computeNumberOfPointsChange(
                trajectoryImpl, integrationTime, numberOfPoints);

        IRangeHCS range = trajectory.getRange();
        IRangeHCS rangeResult = result.getRange();

        swapRange(range, rangeResult);

    }
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

     */
    public void computeIntegrationTimeChange(IRangeHCS range, Double integrationTime) {

        ((IConfigHCS) config).setIntegrationTime(integrationTime);

        ITrajectoryHCS trajectory = (ITrajectoryHCS) range.getTrajectoriesList().get(0);

        // Double integrationTime = ((IConfigHCS) config).getIntegrationTime();
        Integer numberOfPoints = ((IConfigHCS) config).getNumberOfPoints();

        ConfigHCSApiService.computeIntegrationTimeChange(trajectory, integrationTime,
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

    public void computeNumberOfPointsChange(IRangeHCS range, Integer numberOfPoints) {

        ((IConfigHCS) config).setNumberOfPoints(numberOfPoints);
        range.setStepsNumber(numberOfPoints);

        ITrajectoryHCS trajectory = (ITrajectoryHCS) range.getTrajectoriesList().get(0);

        Double integrationTime = ((IConfigHCS) config).getIntegrationTime();
        // Integer numberOfPoints = ((IConfigHCS) config).getNumberOfPoints();

        ConfigHCSApiService
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

        IRangeHCS range = this.rangeModelsList.get(rIndex);
        return range;
    }

    private ITrajectoryHCS getTrajectory(IRangeHCS range, int tIndex) {
        ITrajectoryHCS trajectory = (ITrajectoryHCS) range.getTrajectoriesList().get(tIndex);
        return trajectory;
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

     */
    @Override
    public void notifyFromValueChanged(String value, int iPosition, int jPosition, boolean deltaLock) {
        if (!this.actuatorModelsList.isEmpty()) {
            IRangeHCS range = getRange(jPosition);
            ITrajectoryHCS trajectory = getTrajectory(range, iPosition);
            boolean firstRange = (jPosition == 0);
            this.computeBeginPositionChange(trajectory, Double.valueOf(value), deltaLock,
                    firstRange);
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.entity.scanhcs.ITrajectoryHCS

     */
    @Override
    public void notifyToValueChanged(String value, int iPosition, int jPosition, boolean deltaLock) {
        if (!this.actuatorModelsList.isEmpty()) {
            IRangeHCS range = getRange(jPosition);
            ITrajectoryHCS trajectory = getTrajectory(range, iPosition);
            boolean firstRange = (jPosition == 0);
            this.computeEndPositionChange(trajectory, Double.valueOf(value), deltaLock, firstRange);
        }
    }
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.