Package fr.soleil.salsa.entity.scank

Examples of fr.soleil.salsa.entity.scank.IConfigK


                                                actuatorTrajectoryMap);
                                    }
                                    break;

                                case SCAN_K:
                                    IConfigK configK = (IConfigK) config;
                                    IDimensionK dimensionK = configK.getDimensionX();
                                    IRangeK tmpRangeK = dimensionK.getRangeX();
                                    actuatorList = dimensionK.getActuatorsList();
                                    modifyTrajectory(tmpRangeK, actuatorList, actuatorTrajectoryMap);
                                    break;
View Full Code Here


            if (dimension != null) {
                trajectory = dimension.getTrajectory();
            }
            // Get Database information
            try {
                IConfigK dbconfig = (IConfigK) SalsaAPI.getConfigById(config.getId(), true);
                if (dbconfig != null && dbconfig.getDimensionX() != null) {
                    dbTrajectory = dbconfig.getDimensionX().getTrajectory();
                }
            }
            catch (ScanNotFoundException e) {
            }
            refresh();
View Full Code Here

                                .addListener(dimensionListener);
                    }
                }
                else {
                    if (config instanceof IConfigK) {
                        IConfigK configK = (IConfigK) config;
                        this.setViewVisible(true);
                        deviceList = configK.getDimensionX().getActuatorsList();

                        IDimension dimension = configK.getDimensionX();
                        if (dimension != null) {
                            dimensionListener = new DimensionListener(dimension);
                            ((IEventSource<EntityPropertyChangedEvent<? extends IDimension>>) dimension)
                                    .addListener(dimensionListener);
                        }
View Full Code Here

                                }
                            }
                            break;

                        case SCAN_K:
                            IConfigK configK = (IConfigK) config;
                            IDimensionK dimensionK = configK.getDimensionX();
                            ITrajectoryK trajectoryK = dimensionK.getRangeX().getTrajectory();
                            List<IActuator> listTrajectory = dimensionK.getActuatorsList();
                            for (int i = 0; i < listTrajectory.size(); i++) {
                                IActuator actuatork = listTrajectory.get(i);
                                if (actuatork != null && actuatork.isEnabled()) {
View Full Code Here

            if (dimension != null) {
                trajectory = dimension.getTrajectory();
            }
            // Get Database information
            try {
                IConfigK dbconfig = (IConfigK) SalsaAPI.getConfigById(config.getId(), true);
                if (dbconfig != null && dbconfig.getDimensionX() != null) {
                    dbTrajectory = dbconfig.getDimensionX().getTrajectory();
                }
            }
            catch (ScanNotFoundException e) {
            }
            if (view != null) {
View Full Code Here

                                }
                            }
                            break;

                        case SCAN_K:
                            IConfigK configK = (IConfigK) config;
                            IDimensionK dimensionK = configK.getDimensionX();
                            ITrajectoryK trajectoryK = dimensionK.getRangeX().getTrajectory();
                            List<IActuator> listTrajectory = dimensionK.getActuatorsList();
                            for (int i = 0; i < listTrajectory.size(); i++) {
                                IActuator actuatork = listTrajectory.get(i);
                                if (actuatork != null && actuatork.isEnabled()) {
View Full Code Here

                                }
                            }
                        }
                    }
                    else if (config instanceof IConfigK) {
                        IConfigK configK = (IConfigK) config;
                        IDimensionK dimensionK = configK.getDimensionX();
                        ITrajectoryK trajectoryK = dimensionK.getRangeX().getTrajectory();
                        List<IActuator> listTrajectory = dimensionK.getActuatorsList();
                        for (int i = 0; i < listTrajectory.size(); i++) {
                            IActuator actuatork = listTrajectory.get(i);
                            if (actuatork != null && actuatork.isEnabled()) {
View Full Code Here

                                                actuatorTrajectoryMap);
                                    }
                                    break;

                                case SCAN_K:
                                    IConfigK configK = (IConfigK) config;
                                    IDimensionK dimensionK = configK.getDimensionX();
                                    IRangeK tmpRangeK = dimensionK.getRangeX();
                                    actuatorList = dimensionK.getActuatorsList();
                                    modifyTrajectory(tmpRangeK, actuatorList, actuatorTrajectoryMap);
                                    break;
View Full Code Here

            if (dimension != null) {
                trajectory = dimension.getTrajectory();
            }
            // Get Database information
            try {
                IConfigK dbconfig = (IConfigK) SalsaAPI.getConfigById(config.getId(), true);
                if (dbconfig != null && dbconfig.getDimensionX() != null) {
                    dbTrajectory = dbconfig.getDimensionX().getTrajectory();
                }
            } catch (ScanNotFoundException e) {
            }
            refresh();
        }
View Full Code Here

                                }
                            }
                            break;

                        case SCAN_K:
                            IConfigK configK = (IConfigK) config;
                            IDimensionK dimensionK = configK.getDimensionX();
                            ITrajectoryK trajectoryK = dimensionK.getRangeX().getTrajectory();
                            List<IActuator> listTrajectory = dimensionK.getActuatorsList();
                            for (int i = 0; i < listTrajectory.size(); i++) {
                                IActuator actuatork = listTrajectory.get(i);
                                if (actuatork != null && actuatork.isEnabled()) {
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.scank.IConfigK

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.