Package fr.soleil.comete.tango.data.service

Examples of fr.soleil.comete.tango.data.service.TangoKey


    // /////////////////
    // Key Generators //
    // /////////////////

    public static TangoKey generatePropertyKey(String model, String propertyName) {
        TangoKey key = new TangoKey();
        TangoKeyTool.registerDeviceProperty(key, model, propertyName);
        return key;
    }
View Full Code Here


     *
     * @param attributeShortName the attribute short name (without device name)
     * @return The expected {@link TangoKey}
     */
    public static TangoKey generateAttributeKey(String model, String attributeShortName) {
        TangoKey key = new TangoKey();
        TangoKeyTool.registerAttribute(key, model, attributeShortName);
        return key;
    }
View Full Code Here

     *
     * @param attributeShortName the attribute short name (without device name)
     * @return The expected {@link TangoKey}
     */
    public static TangoKey generateWriteAttributeKey(String model, String attributeShortName) {
        TangoKey key = new TangoKey();
        TangoKeyTool.registerWriteAttribute(key, model, attributeShortName);
        return key;
    }
View Full Code Here

     *
     * @param commandShortName the command short name (without device name)
     * @return The expected {@link TangoKey}
     */
    public static TangoKey generateCommandKey(String model, String commandShortName) {
        TangoKey key = new TangoKey();
        TangoKeyTool.registerCommand(key, model, commandShortName);
        return key;
    }
View Full Code Here

    @Override
    protected void initKey() {
        super.initKey();

        // init attribute quality key
        qualityKey = new TangoKey();
        TangoKeyTool.registerAttributeQuality(qualityKey, getDeviceName(), getAttributeName());
    }
View Full Code Here

    protected void initKey() {
        if (TangoAttributeHelper.isAttributeReadOnly(getDeviceName(), getAttributeName())) {
            displayReadValue = true;
        }

        key = new TangoKey();
        if (displayReadValue) {
            TangoKeyTool.registerAttribute(key, tangoHelper.getDeviceName(),
                    tangoHelper.getEntityName());
        }
        else {
            TangoKeyTool.registerWriteAttribute(key, tangoHelper.getDeviceName(),
                    tangoHelper.getEntityName());
        }

        // init attribute quality key
        qualityKey = new TangoKey();
        TangoKeyTool.registerAttributeQuality(qualityKey, getDeviceName(), getAttributeName());
    }
View Full Code Here

    @Override
    protected void initKey() {
        super.initKey();

        // init attribute quality key
        qualityKey = new TangoKey();
        TangoKeyTool.registerAttributeQuality(qualityKey, getDeviceName(), getAttributeName());
    }
View Full Code Here

        return result;
    }

    @Override
    protected void initKey() {
        key = new TangoKey();
        TangoKeyTool.registerWriteAttribute(key, getDeviceName(), getAttributeName());

        readKey = new TangoKey();
        TangoKeyTool.registerAttribute(readKey, getDeviceName(), getAttributeName());

        // init attribute quality key
        qualityKey = new TangoKey();
        TangoKeyTool.registerAttributeQuality(qualityKey, getDeviceName(), getAttributeName());
    }
View Full Code Here

    @Override
    protected void initKey() {
        super.initKey();

        // init attribute quality key
        qualityKey = new TangoKey();
        TangoKeyTool.registerAttributeQuality(qualityKey, getDeviceName(), getAttributeName());
    }
View Full Code Here

    private static JPanel initPanel() {
        final JPanel panel = new JPanel();

        BooleanScalarBox booleanScalarBox = new BooleanScalarBox();

        TangoKey booleanScalarRWKey = new TangoKey();
        TangoKeyTool.registerAttribute(booleanScalarRWKey, "tango/tangotest/1", "boolean_scalar");

        TangoKey booleanScalarROKey = new TangoKey();
        TangoKeyTool.registerAttribute(booleanScalarROKey, "storage/recorder/datarecorder.1", "nxentrypostrecording");

        CheckBox checkboxRW = new CheckBox();
        booleanScalarBox.connectWidget(checkboxRW, booleanScalarRWKey);
View Full Code Here

TOP

Related Classes of fr.soleil.comete.tango.data.service.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.