Package fr.soleil.salsa.entity.impl

Examples of fr.soleil.salsa.entity.impl.SensorImpl


                        if (sensorsValueKeysArray != null) {
                            for (String sensorValueKey : sensorsValueKeysArray) {
                                entityName = TangoDeviceHelper.getEntityName(sensorValueKey);
                                sensorName = TangoAttributeHelper.getLabel(scanServerName, entityName);
                                sensor = new SensorImpl();
                                sensor.setName(sensorName);
                                sensor.setEnabled(true);
                                scanResult.getSensorsList().add(sensor);
                                sensor.setScanServerAttributeName(sensorValueKey);
                            }
View Full Code Here


                String sensorName;
                double[] sensorValuesArray;
                DeviceAttribute sensorValueAttribute;
                for(int sensorIndex = 0; sensorIndex < sensorsNamesArray.length && sensorIndex < sensorsValueKeysArray.length; ++sensorIndex) {
                    sensorName = sensorsNamesArray[sensorIndex];
                    sensor = new SensorImpl();
                    sensor.setName(sensorName);
                    sensor.setEnabled(true);
                    scanResult.getSensorsList().add(sensor);
                   
                    sensorValueKey = sensorsValueKeysArray[sensorIndex];
View Full Code Here

    /**
     * Default constructor, that creates a new instance of SensorImpl and wraps it.
     */
    public SensorModel() {
        this(new SensorImpl());
    }
View Full Code Here

                        if (sensorsValueKeysArray != null) {
                            for (String sensorValueKey : sensorsValueKeysArray) {
                                entityName = TangoDeviceHelper.getEntityName(sensorValueKey);
                                sensorName = TangoAttributeHelper.getLabel(scanServerName, entityName);
                                sensor = new SensorImpl();
                                sensor.setName(sensorName);
                                sensor.setEnabled(true);
                                scanResult.getSensorsList().add(sensor);
                                sensor.setScanServerAttributeName(sensorValueKey);
                            }
View Full Code Here

                double[] sensorValuesArray;
                DeviceAttribute sensorValueAttribute;
                for (int sensorIndex = 0; sensorIndex < sensorsNamesArray.length
                        && sensorIndex < sensorsValueKeysArray.length; ++sensorIndex) {
                    sensorName = sensorsNamesArray[sensorIndex];
                    sensor = new SensorImpl();
                    sensor.setName(sensorName);
                    sensor.setEnabled(true);
                    scanResult.getSensorsList().add(sensor);

                    sensorValueKey = sensorsValueKeysArray[sensorIndex];
View Full Code Here

        tb.setEnabled(true);
        nc.getTimebaseList().add(tb);
        // Sensors

        for (int i = 0; i < _nbSensors; i++) {
            ISensor s = new SensorImpl();
            s.setName("/mon/sensor/" + i);
            s.setEnabled(i % 2 == 1);
            nc.getSensorsList().add(s);
        }
        // Dimension
        Dimension1DImpl dim = new Dimension1DImpl();
        dim.setTrajectoriesList(new ArrayList<ITrajectory1D>());
View Full Code Here

                        if (sensorsValueKeysArray != null) {
                            for (String sensorValueKey : sensorsValueKeysArray) {
                                entityName = TangoDeviceHelper.getEntityName(sensorValueKey);
                                sensorName = TangoAttributeHelper.getLabel(scanServerName, entityName);
                                sensor = new SensorImpl();
                                sensor.setName(sensorName);
                                sensor.setEnabled(true);
                                scanResult.getSensorsList().add(sensor);
                                sensor.setScanServerAttributeName(sensorValueKey);
                            }
View Full Code Here

    /**
     * Default constructor, that creates a new instance of SensorImpl and wraps it.
     */
    public SensorModel() {
        this(new SensorImpl());
    }
View Full Code Here

                    double[] sensorValuesArray;
                    TangoAttribute attribute;
                    for (int sensorIndex = 0; sensorIndex < sensorsNamesArray.length
                            && sensorIndex < sensorsValueKeysArray.length; ++sensorIndex) {
                        sensorName = sensorsNamesArray[sensorIndex];
                        sensor = new SensorImpl();
                        sensor.setName(sensorName);
                        sensor.setEnabled(true);
                        scanResult.getSensorsList().add(sensor);

                        sensorValueKey = sensorsValueKeysArray[sensorIndex];
View Full Code Here

                    double[] sensorValuesArray;
                    TangoAttribute attribute;
                    for (int sensorIndex = 0; sensorIndex < sensorsNamesArray.length
                            && sensorIndex < sensorsValueKeysArray.length; ++sensorIndex) {
                        sensorName = sensorsNamesArray[sensorIndex];
                        sensor = new SensorImpl();
                        sensor.setName(sensorName);
                        sensor.setEnabled(true);
                        scanResult.getSensorsList().add(sensor);

                        sensorValueKey = sensorsValueKeysArray[sensorIndex];
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.impl.SensorImpl

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.