Package fr.soleil.salsa.entity

Examples of fr.soleil.salsa.entity.DisplayAxis


            if (scanResultReady) {
                int expectedSize;
                List<DisplayAxis> displayAxisList = config.getScanAddOn().getDisplay()
                        .getAxisList();
                Iterator<DisplayAxis> displayAxisIterator = displayAxisList.iterator();
                DisplayAxis displayAxis;
                displayAxis = displayAxisIterator.hasNext() ? displayAxisIterator.next() : null;
                datas.get(0).setAxis(convertAxis(displayAxis));

                List<ISensor> sensorsList = (useConfig ? config.getSensorsList() : scanResult
                        .getSensorsList());
View Full Code Here


     *
     * @param axis
     * @return
     */
    public DisplayAxis convertAxis(Axis axis) {
        DisplayAxis result = null;
        if (axis != null) {
            switch (axis) {
                case X:
                    result = DisplayAxis.X;
                    break;
View Full Code Here

            if (scanResultReady) {
                int expectedSize;
                List<DisplayAxis> displayAxisList = config.getScanAddOn().getDisplay()
                        .getAxisList();
                Iterator<DisplayAxis> displayAxisIterator = displayAxisList.iterator();
                DisplayAxis displayAxis;
                displayAxis = displayAxisIterator.hasNext() ? displayAxisIterator.next() : null;
                datas.get(0).setDefaultAxis1D(convertAxis(displayAxis));

                List<ISensor> sensorsList = (useConfig ? config.getSensorsList() : scanResult
                        .getSensorsList());
View Full Code Here

     *
     * @param axis
     * @return
     */
    public DisplayAxis convertAxis(Axis axis) {
        DisplayAxis result = null;
        if (axis != null) {
            switch (axis) {
                case X:
                    result = DisplayAxis.X;
                    break;
View Full Code Here

    private void initSavedAxis(List<? extends IDevice> deviceList,
            Iterator<DisplayAxis> iteratorAxis) {
        if (deviceList != null) {
            Iterator<? extends IDevice> iteratorDevice = deviceList.listIterator();
            IDevice device = null;
            DisplayAxis displayAxis = null;
            String attributeName = null;
            while (iteratorDevice.hasNext()) {
                device = iteratorDevice.next();
                if (iteratorAxis.hasNext()) {
                    displayAxis = iteratorAxis.next();
View Full Code Here

    private void initSavedAxis(List<? extends IDevice> deviceList, Iterator<DisplayAxis> iteratorAxis, boolean sensor) {
        if (deviceList != null) {
            Iterator<? extends IDevice> iteratorDevice = deviceList.listIterator();
            IDevice device = null;
            DisplayAxis displayAxis = null;
            String attributeName = null;
            while (iteratorDevice.hasNext()) {
                device = iteratorDevice.next();
                if (iteratorAxis.hasNext()) {
                    displayAxis = iteratorAxis.next();
View Full Code Here

            return;
        }

        Iterator<?> iteratorDevice = deviceList.listIterator();
        IDevice device = null;
        DisplayAxis displayAxis = null;
        String attributeName = null;
        while (iteratorDevice.hasNext()) {
            device = (IDevice) iteratorDevice.next();
            if (iteratorAxis.hasNext()) {
                displayAxis = iteratorAxis.next();
View Full Code Here

    private void initSavedAxis(List<? extends IDevice> deviceList,
            Iterator<DisplayAxis> iteratorAxis) {
        if (deviceList != null) {
            Iterator<? extends IDevice> iteratorDevice = deviceList.listIterator();
            IDevice device = null;
            DisplayAxis displayAxis = null;
            String attributeName = null;
            while (iteratorDevice.hasNext()) {
                device = iteratorDevice.next();
                if (iteratorAxis.hasNext()) {
                    displayAxis = iteratorAxis.next();
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.entity.DisplayAxis

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.