Package fr.soleil.lib.flyscan.model.parsing.configuration.fsobject.actor

Examples of fr.soleil.lib.flyscan.model.parsing.configuration.fsobject.actor.Sensor


        assertEquals(90.0, tTrajectory.getPoints().get(8));

        assertEquals(100.0, tTrajectory.getPoints().get(9));

        Sensor sensor = null;

        for (Actor a : actorSection.getActors()) {
            if ((a instanceof Sensor) && (a.getName().equalsIgnoreCase("sensor_a"))) {
                sensor = (Sensor) a;
            }
        }

        assertNotNull(sensor);

        Entry measurementsEntry = null;

        for (Entry e : sensor.getEntries()) {
            if (e.getKey().equalsIgnoreCase("measurements")) {
                measurementsEntry = e;
            }
        }
View Full Code Here


                            }
//                        else if (name.equals(ParsingUtil.CUSTOM_ACTUATOR)) {
//                            currentObject = new CustomActuator(currentSection);
//                        }
                            else if (name.equals(ParsingUtil.SENSOR)) {
                                currentObject = new Sensor(currentSection);
                            } else if (name.equals(ParsingUtil.TIMEBASE)) {
                                currentObject = new TimeBase(currentSection);
                            } else if (name.equals(ParsingUtil.HOOK)) {
                                currentObject = new Hook(currentSection);
                            } else if (name.equals(ParsingUtil.MONITOR)) {
View Full Code Here

TOP

Related Classes of fr.soleil.lib.flyscan.model.parsing.configuration.fsobject.actor.Sensor

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.