Package fr.soleil.comete.dao.tangodao

Examples of fr.soleil.comete.dao.tangodao.TangoKey


     * Generates the {@link TangoKey} that corresponds to the associated device
     *
     * @return The expected {@link TangoKey}
     */
    public TangoKey generateDeviceKey() {
        TangoKey key = new TangoKey();
        key.registerDeviceName(getModel());
        return key;
    }
View Full Code Here


        if (scanServerName == null || scanServerName.isEmpty()) {
            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

                || attributeName.isEmpty()) {
            return null;
        }

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

        if (scanServerName == null || scanServerName.isEmpty()) {
            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

                || attributeName.isEmpty()) {
            return null;
        }

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

        if ((containsNullAndEmpty(xAttributeNameList) || containsNullAndEmpty(yAttributeNameList) || xAttributeNameList.length != yAttributeNameList.length)
                && containsNullAndEmpty(attributeNameList)) {
            return;
        }
        // System.out.println("initDAO");
        TangoKey key = new TangoKey();
        fillIdMap(xAttributeNameList, yAttributeNameList);
        fillIdMap(attributeNameList);
        key.registerDualAttributes(xAttributeNameList, yAttributeNameList);
        key.registerProperty(TangoDAOFactory.ENTITYLIST_NAME, attributeNameList);
        // System.out.println(Arrays.toString(attributeNameList));
        widget.addKey(CurrentScanDataModel.TANGO_FACTORY_CLASS, key);
        widget.switchDAOFactory(CurrentScanDataModel.TANGO_FACTORY_CLASS);
        setXDateFormat(xDateFormat);
View Full Code Here

            return;
        }

        attributeLabel.setText(getModel() + "/" + attributeName);
        attributeLabel.setToolTipText(scanServerDeviceName + "/" + actuatorAttributeName);
        TangoKey tangoKey = generateAttributeKey(attributeName);
        setWidgetModel(attributeRead, tangoKey);
        setWidgetModel(attributeField, tangoKey);

        AbstractDAO<String> dao = CurrentScanDataModel.createStateDAO(scanServerDeviceName);
        if (dao != null) {
View Full Code Here

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

    }
View Full Code Here

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

    }
View Full Code Here

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

    }
View Full Code Here

TOP

Related Classes of fr.soleil.comete.dao.tangodao.TangoKey

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.