Package fr.soleil.salsa.entity.impl

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


                double[] sensorValuesArray;
                TangoAttribute 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


                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

                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

                    case ACTUATOR:
                        deviceImp = new ActuatorImpl();
                        ((List<IActuator>) returnDeviceList).add((IActuator) deviceImp);
                        break;
                    case SENSOR:
                        deviceImp = new SensorImpl();
                        ((List<ISensor>) returnDeviceList).add((ISensor) deviceImp);
                        break;
                    case TIMEBASE:
                        deviceImp = new TimebaseImpl();
                        ((List<ITimebase>) returnDeviceList).add((ITimebase) deviceImp);
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

                    case ACTUATOR:
                        deviceImp = new ActuatorImpl();
                        ((List<IActuator>) returnDeviceList).add((IActuator) deviceImp);
                        break;
                    case SENSOR:
                        deviceImp = new SensorImpl();
                        ((List<ISensor>) returnDeviceList).add((ISensor) deviceImp);
                        break;
                    case TIMEBASE:
                        deviceImp = new TimebaseImpl();
                        ((List<ITimebase>) returnDeviceList).add((ITimebase) deviceImp);
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

    /**
     * Default constructor, that creates a new instance of SensorImpl and wraps it.
     */
    public SensorModel() {
        this(new SensorImpl());
    }
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.