Examples of registerAttribute()


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

    private void registerKeys() {
        if (scanServerDeviceName == null) {
            return;
        }
        TangoKey runNameKey = new TangoKey();
        runNameKey.registerAttribute(scanServerDeviceName, CurrentScanDataModel.RUN_NAME);
        runName.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, runNameKey);

    }

    private void switchFactory() {
View Full Code Here

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

    private void registerKeys() {
        if (scanServerDeviceName == null) {
            return;
        }
        TangoKey runNameKey = new TangoKey();
        runNameKey.registerAttribute(scanServerDeviceName, CurrentScanDataModel.RUN_NAME);
        runName.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, runNameKey);

    }

    private void switchFactory() {
View Full Code Here

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

    private void registerKeys() {
        if (scanServerDeviceName == null) {
            return;
        }
        TangoKey runNameKey = new TangoKey();
        runNameKey.registerAttribute(scanServerDeviceName, CurrentScanDataModel.RUN_NAME);
        runName.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, runNameKey);

    }

    private void switchFactory() {
View Full Code Here

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

    private void registerKeys() {
        if (scanServerDeviceName == null) {
            return;
        }
        TangoKey runNameKey = new TangoKey();
        runNameKey.registerAttribute(scanServerDeviceName, CurrentScanDataModel.RUN_NAME);
        runName.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, runNameKey);

    }

    private void switchFactory() {
View Full Code Here

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

     * @param attributeShortName the attribute short name (without device name)
     * @return The expected {@link TangoKey}
     */
    public TangoKey generateAttributeKey(String attributeShortName) {
        TangoKey key = new TangoKey();
        key.registerAttribute(getModel(), attributeShortName);
        return key;
    }

    /**
     * Generates the {@link TangoKey} that corresponds to an attribute in the associated device
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()

            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

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 deadTimeKey = new TangoKey();
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.