Package fr.soleil.salsa.entity.scanhcs

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


                    setAttribute("hwContinuous", true);

                    // Get the only one range
                    int nbOfPoint = 1;

                    IDimensionHCS dimension = config.getDimensionX();
                    if (dimension != null) {
                        List<IRangeHCS> rangeList = dimension.getRangesXList();
                        if (rangeList != null && !rangeList.isEmpty()) {
                            IRangeHCS range = rangeList.get(0);
                            nbOfPoint = range.getStepsNumber();
                        }
                    }
View Full Code Here


                    setAttribute("hwContinuous", true);

                    // Get the only one range
                    int nbOfPoint = 1;

                    IDimensionHCS dimension = config.getDimensionX();
                    if (dimension != null) {
                        List<IRangeHCS> rangeList = dimension.getRangesXList();
                        if (rangeList != null && !rangeList.isEmpty()) {
                            IRangeHCS range = rangeList.get(0);
                            nbOfPoint = range.getStepsNumber();
                        }
                    }
View Full Code Here

                                }
                            }

                        } else if (config instanceof IConfigHCS) {
                            IConfigHCS configHCS = (IConfigHCS) config;
                            IDimensionHCS dimensionHCS = configHCS.getDimensionX();
                            List<IActuator> listActuatorHCS = dimensionHCS.getActuatorsList();

                            List<IRangeHCS> rangeHCS = dimensionHCS.getRangesXList();
                            for (int i = 0; i < rangeHCS.size(); i++) {
                                List<ITrajectory> listTrajectory = rangeHCS.get(i).getTrajectoriesList();
                                for (int j = 0; j < listTrajectory.size(); j++) {
                                    IActuator actuator = listActuatorHCS.get(j);
                                    if ((actuator != null) && actuator.isEnabled()) {
View Full Code Here

            tmpRangeList = dimension2DY.getRangesList();
        } else if (this instanceof IDimensionEnergy) {
            IDimensionEnergy dimensionEnergy = ((IDimensionEnergy) this);
            tmpRangeList = dimensionEnergy.getRangesEnergyList();
        } else if (this instanceof IDimensionHCS) {
            IDimensionHCS dimensionHCS = ((IDimensionHCS) this);
            tmpRangeList = dimensionHCS.getRangesXList();
        } else if (this instanceof IDimensionK) {
            IDimensionK dimensionK = ((IDimensionK) this);
            tmpRangeList = dimensionK.getRangesXList();
        } else {
            tmpRangeList = rangeList;
View Full Code Here

            dimension2DY.setRangesList((List<IRange2DY>) arangeList);
        } else if (this instanceof IDimensionEnergy) {
            IDimensionEnergy dimensionEnergy = ((IDimensionEnergy) this);
            dimensionEnergy.setRangesEnergyList((List<IRangeEnergy>) arangeList);
        } else if (this instanceof IDimensionHCS) {
            IDimensionHCS dimensionHCS = ((IDimensionHCS) this);
            dimensionHCS.setRangesXList((List<IRangeHCS>) arangeList);
        } else if (this instanceof IDimensionK) {
            IDimensionK dimensionK = ((IDimensionK) this);
            dimensionK.setRangesXList((List<IRangeK>) arangeList);
        } else {
            this.rangeList = (List<IRange>) arangeList;
View Full Code Here

                    setAttribute("hwContinuous", true, false);

                    // Get the only one range
                    int nbOfPoint = 1;

                    IDimensionHCS dimension = config.getDimensionX();
                    if (dimension != null) {
                        List<IRangeHCS> rangeList = dimension.getRangesXList();
                        if ((rangeList != null) && !rangeList.isEmpty()) {
                            IRangeHCS range = rangeList.get(0);
                            nbOfPoint = range.getStepsNumber();
                        }
                    }
View Full Code Here

        loadConfig();
    }

    private void initConfig() {
        // Init all the configuration
        IDimensionHCS dimensionHCS = configHCS.getDimensionX();
        if (dimensionHCS == null) {
            dimensionHCS = new DimensionHCSImpl();
            configHCS.setDimensionX(dimensionHCS);
        }
View Full Code Here

                    setAttribute("hwContinuous", true);

                    // Get the only one range
                    int nbOfPoint = 1;

                    IDimensionHCS dimension = config.getDimensionX();
                    if (dimension != null) {
                        List<IRangeHCS> rangeList = dimension.getRangesXList();
                        if (rangeList != null && !rangeList.isEmpty()) {
                            IRangeHCS range = rangeList.get(0);
                            nbOfPoint = range.getStepsNumber();
                        }
                    }
View Full Code Here

                            }

                        }
                        else if (config instanceof IConfigHCS) {
                            IConfigHCS configHCS = (IConfigHCS) config;
                            IDimensionHCS dimensionHCS = configHCS.getDimensionX();
                            List<IActuator> listActuatorHCS = dimensionHCS.getActuatorsList();

                            List<IRangeHCS> rangeHCS = dimensionHCS.getRangesXList();
                            for (int i = 0; i < rangeHCS.size(); i++) {
                                List<ITrajectory> listTrajectory = rangeHCS.get(i)
                                        .getTrajectoriesList();
                                for (int j = 0; j < listTrajectory.size(); j++) {
                                    IActuator actuator = listActuatorHCS.get(j);
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.scanhcs.IDimensionHCS

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.