Package fr.soleil.salsa.entity.impl

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


                            .isAttributeRunning(scanServerName, "sensorsTimeStamps")) {
                        actionName = "read_attribute(\"sensorsTimeStamps\")";
                        double[] timesArray = scanServerProxy.read_attribute("sensorsTimeStamps")
                                .extractDoubleArray();
                        for (double time : timesArray) {
                            scanPoint = new ScanPointImpl();
                            scanPoint.setTime(time);
                            scanPointsList.add(scanPoint);
                        }
                    }
View Full Code Here


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

                    columnsNumber = sensorsTimeStampsAttribute.getDeviceAttribute().getDimX();
                    rowsNumber = sensorsTimeStampsAttribute.getDeviceAttribute().getDimY();
                    scanPointsMatrix = new IScanPoint[rowsNumber][columnsNumber];
                    for (row = 0; row < rowsNumber; ++row) {
                        for (column = 0; column < columnsNumber; ++column) {
                            scanPointsMatrix[row][column] = new ScanPointImpl();
                        }
                    }
                    // Times.
                    double[] timesArray = (double[]) sensorsTimeStampsAttribute
                            .readArray(Double.TYPE);
View Full Code Here

                double[] timesArray = scanServerProxy.read_attribute("sensorsTimeStamps")
                        .extractDoubleArray();
                List<IScanPoint> scanPointsList = new ArrayList<IScanPoint>(timesArray.length);
                IScanPoint scanPoint;
                for (double time : timesArray) {
                    scanPoint = new ScanPointImpl();
                    scanPoint.setTime(time);
                    scanPointsList.add(scanPoint);
                }

                // Sensors
View Full Code Here

                            .isAttributeRunning(scanServerName, "sensorsTimeStamps")) {
                        actionName = "read_attribute(\"sensorsTimeStamps\")";
                        double[] timesArray = scanServerProxy.read_attribute("sensorsTimeStamps")
                                .extractDoubleArray();
                        for (double time : timesArray) {
                            scanPoint = new ScanPointImpl();
                            scanPoint.setTime(time);
                            scanPointsList.add(scanPoint);
                        }
                    }
View Full Code Here

TOP

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

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.