Package fr.soleil.tango.clientapi

Examples of fr.soleil.tango.clientapi.TangoAttribute.extract()


                                TangoAttribute tangoAttribute = new TangoAttribute(
                                        dataRecorderDeviceName + "/targetDirectory");
                                String targetDirectory = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/fileName");
                                String fileName = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/nxEntryName");
                                String nxEntryName = tangoAttribute.extract(String.class);
                                nexusFileNameMap.put(scanServerName.toLowerCase(), fileName
                                        + ".nxs");
View Full Code Here


                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/fileName");
                                String fileName = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/nxEntryName");
                                String nxEntryName = tangoAttribute.extract(String.class);
                                nexusFileNameMap.put(scanServerName.toLowerCase(), fileName
                                        + ".nxs");
                                nexusFileEntryMap.put(scanServerName.toLowerCase(), nxEntryName);
                                nexusFilePathMap.put(scanServerName.toLowerCase(), targetDirectory);
                            }
View Full Code Here

                            }

                            if (dataRecorderDeviceName != null && !dataRecorderDeviceName.isEmpty()) {
                                TangoAttribute tangoAttribute = new TangoAttribute(
                                        dataRecorderDeviceName + "/targetDirectory");
                                String targetDirectory = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/fileName");
                                String fileName = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/nxEntryName");
View Full Code Here

                                TangoAttribute tangoAttribute = new TangoAttribute(
                                        dataRecorderDeviceName + "/targetDirectory");
                                String targetDirectory = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/fileName");
                                String fileName = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/nxEntryName");
                                String nxEntryName = tangoAttribute.extract(String.class);
                                nexusFileNameMap.put(scanServerName.toLowerCase(), fileName
                                        + ".nxs");
View Full Code Here

                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/fileName");
                                String fileName = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/nxEntryName");
                                String nxEntryName = tangoAttribute.extract(String.class);
                                nexusFileNameMap.put(scanServerName.toLowerCase(), fileName
                                        + ".nxs");
                                nexusFileEntryMap.put(scanServerName.toLowerCase(), nxEntryName);
                                nexusFilePathMap.put(scanServerName.toLowerCase(), targetDirectory);
                            }
View Full Code Here

                    + attributeName);
            if (tangoAttribute != null) {
                int format = TangoAttributeHelper.getAttributeType(scanServerDeviceName,
                        attributeName);
                if (format == TangoConstHelper.SCALAR_TYPE) {
                    return tangoAttribute.extract(double.class);
                }
                else if (format == TangoConstHelper.IMAGE_TYPE
                        || format == TangoConstHelper.ARRAY_TYPE) {
                    double[] values = (double[]) tangoAttribute.extractArray(double.class);
                    if (values != null && index < values.length) {
View Full Code Here

                                if (dataRecorderDeviceName != null
                                        && !dataRecorderDeviceName.isEmpty()) {
                                    TangoAttribute tangoAttribute = new TangoAttribute(
                                            dataRecorderDeviceName + "/nxEntryName");
                                    String nxEntryName = tangoAttribute.extract(String.class);

                                    nexusFileEntryMap
                                            .put(scanServerName.toLowerCase(), nxEntryName);

                                }
View Full Code Here

                    + attributeName);
            if (tangoAttribute != null) {
                int format = TangoAttributeHelper.getAttributeType(scanServerDeviceName,
                        attributeName);
                if (format == TangoConstHelper.SCALAR_TYPE) {
                    return tangoAttribute.extract(double.class);
                }
                else if (format == TangoConstHelper.IMAGE_TYPE
                        || format == TangoConstHelper.ARRAY_TYPE) {
                    double[] values = (double[]) tangoAttribute.extractArray(double.class);
                    if (values != null && index < values.length) {
View Full Code Here

                            }

                            if (dataRecorderDeviceName != null && !dataRecorderDeviceName.isEmpty()) {
                                TangoAttribute tangoAttribute = new TangoAttribute(
                                        dataRecorderDeviceName + "/targetDirectory");
                                String targetDirectory = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/fileName");
                                String fileName = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/nxEntryName");
View Full Code Here

                                TangoAttribute tangoAttribute = new TangoAttribute(
                                        dataRecorderDeviceName + "/targetDirectory");
                                String targetDirectory = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/fileName");
                                String fileName = tangoAttribute.extract(String.class);
                                tangoAttribute = new TangoAttribute(dataRecorderDeviceName
                                        + "/nxEntryName");
                                String nxEntryName = tangoAttribute.extract(String.class);
                                nexusFileNameMap.put(scanServerName.toLowerCase(), fileName
                                        + ".nxs");
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.