Examples of registerAttribute()


Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

            label.addKey(TangoDAOFactory.class.getName(), tangoKey);
        }

        // Progress bar
        TangoKey deadTimeKey = new TangoKey();
        deadTimeKey.registerAttribute(scanServerName, DEAD_TIME_PERCENT);
        scanDeadTime.addKey(TangoDAOFactory.class.getName(), deadTimeKey);

        TangoKey progressKey = new TangoKey();
        progressKey.registerAttribute(scanServerName, SCAN_COMPLETION);
        scanCompletion.addKey(TangoDAOFactory.class.getName(), progressKey);
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

        TangoKey deadTimeKey = new TangoKey();
        deadTimeKey.registerAttribute(scanServerName, DEAD_TIME_PERCENT);
        scanDeadTime.addKey(TangoDAOFactory.class.getName(), deadTimeKey);

        TangoKey progressKey = new TangoKey();
        progressKey.registerAttribute(scanServerName, SCAN_COMPLETION);
        scanCompletion.addKey(TangoDAOFactory.class.getName(), progressKey);

    }

    private void switchFactory() {
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

        String key = null;
        while (imageViewerIterator.hasNext()) {
            key = imageViewerIterator.next();
            imageViewer = imageViewerMap.get(key);
            imageKey = new TangoKey();
            imageKey.registerAttribute(scanServerDeviceName, key);
            imageViewer.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, imageKey);
        }
    }

    public void setZSensorsDataList(final String[] sensorsDataList) {
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

    private void initKey() {
        CurrentScanDataModel.getDeviceProxy(scanServerDeviceName);
        runName.removeKey(CurrentScanDataModel.TANGO_FACTORY_CLASS);
        runName.clearDAO();
        TangoKey tangoKey = new TangoKey();
        tangoKey.registerAttribute(scanServerDeviceName, CurrentScanDataModel.RUN_NAME);
        runName.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, tangoKey);
        if (started) {
            runName.switchDAOFactory(CurrentScanDataModel.TANGO_FACTORY_CLASS);
        }
    }
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

            String key = keyIterator.next();
            Label label = labelMap.get(key);

            TangoKey tangoKey = new TangoKey();
            tangoKey.registerAttribute(scanServerName, key);
            label.addKey(TangoDAOFactory.class.getName(), tangoKey);
        }

        // Progress bar
        TangoKey progressKey = new TangoKey();
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

            label.addKey(TangoDAOFactory.class.getName(), tangoKey);
        }

        // Progress bar
        TangoKey progressKey = new TangoKey();
        progressKey.registerAttribute(scanServerName, DEAD_TIME_PERCENT);
        scanProgress.addKey(TangoDAOFactory.class.getName(), progressKey);
    }

    private void switchFactory() {
        Collection<Label> labelCollection = labelMap.values();
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

        String key = null;
        while (imageViewerIterator.hasNext()) {
            key = imageViewerIterator.next();
            imageViewer = imageViewerMap.get(key);
            imageKey = new TangoKey();
            imageKey.registerAttribute(scanServerDeviceName, key);
            imageViewer.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, imageKey);
        }
    }

    public void setZSensorsDataList(final String[] sensorsDataList) {
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

    private void initKey() {
        CurrentScanDataModel.getDeviceProxy(scanServerDeviceName);
        runName.removeKey(CurrentScanDataModel.TANGO_FACTORY_CLASS);
        runName.clearDAO();
        TangoKey tangoKey = new TangoKey();
        tangoKey.registerAttribute(scanServerDeviceName, CurrentScanDataModel.RUN_NAME);
        runName.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, tangoKey);
        if (started) {
            runName.switchDAOFactory(CurrentScanDataModel.TANGO_FACTORY_CLASS);
        }
    }
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

            return null;
        }

        AbstractDAOFactory factory = DAOFactoryManager.getFactory(TANGO_FACTORY_CLASS);
        TangoKey tangoKey = new TangoKey();
        tangoKey.registerAttribute(scanServerName, "State");
        if (factory != null) {
            return factory.createStringDAO(tangoKey);
        }
        return null;
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerAttribute()

            return null;
        }

        AbstractDAOFactory factory = DAOFactoryManager.getFactory(TANGO_FACTORY_CLASS);
        TangoKey tangoKey = new TangoKey();
        tangoKey.registerAttribute(scanServerName, attributeName);
        return factory.createStringImageDAO(tangoKey);
    }

    public static DeviceProxy getDeviceProxy(String scanServerName) {
        DeviceProxy scanServerProxy = TangoDAOFactory.getDeviceProxy(scanServerName);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.