Package fr.esrf.TangoApi

Examples of fr.esrf.TangoApi.DbDatum


        String tempAuthModel = null;
        String tempTechModel = null;

        try {
            Database database = TangoDeviceHelper.getDatabase();
            DbDatum dbDatum = database.get_device_property(getModel(), AUTH_DEVICE);
            tempAuthModel = dbDatum.extractString();

            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(getModel());
            if (proxy != null) {
                DeviceAttribute deviceAttribute = proxy.read_attribute(TECH_DEVICE);
                tempTechModel = deviceAttribute.extractString();
View Full Code Here


        String tempAuthModel = null;
        String tempTechModel = null;

        try {
            Database database = TangoDeviceHelper.getDatabase();
            DbDatum dbDatum = database.get_device_property(getModel(), AUTH_DEVICE);
            tempAuthModel = dbDatum.extractString();

            dbDatum = database.get_device_property(getModel(), TECH_DEVICE);
            tempTechModel = dbDatum.extractString();

            if ((tempAuthModel != null) && (!tempAuthModel.trim().isEmpty())
                    && (!ObjectUtils.sameObject(getAuthModel(), tempAuthModel))) {
                authModel = tempAuthModel;
            }
View Full Code Here

                            }
                            nexusFileNameMap.put(scanServerName.toLowerCase(), nexusFileName);
                            String dataRecorderDeviceName = DEFAULT_RECORDER;
                            Database database = TangoDeviceHelper.getDatabase();
                            if (database != null) {
                                DbDatum dbDatum = database.get_device_property(scanServerName, DATA_RECORDER);
                                if (dbDatum != null) {
                                    dataRecorderDeviceName = dbDatum.extractString();
                                }

                                if (TangoDeviceHelper.isDeviceRunning(dataRecorderDeviceName)) {
                                    DeviceProxy dataRecorderProxy = TangoDeviceHelper
                                    .getDeviceProxy(dataRecorderDeviceName);
View Full Code Here

                            }
                            nexusFileNameMap.put(scanServerName.toLowerCase(), nexusFileName);
                            String dataRecorderDeviceName = "storage/recorder/datarecorder.1";
                            Database database = TangoDeviceHelper.getDatabase();
                            if (database != null) {
                                DbDatum dbDatum = database.get_device_property(scanServerName,
                                        "DataRecorder");
                                if (dbDatum != null) {
                                    dataRecorderDeviceName = dbDatum.extractString();
                                }

                                if (dataRecorderDeviceName != null
                                        && !dataRecorderDeviceName.isEmpty()) {
                                    TangoAttribute tangoAttribute = new TangoAttribute(
View Full Code Here

                            }
                            nexusFileNameMap.put(scanServerName.toLowerCase(), nexusFileName);
                            String dataRecorderDeviceName = DEFAULT_RECORDER;
                            Database database = TangoDeviceHelper.getDatabase();
                            if (database != null) {
                                DbDatum dbDatum = database.get_device_property(scanServerName, DATA_RECORDER);
                                if (dbDatum != null) {
                                    dataRecorderDeviceName = dbDatum.extractString();
                                }

                                if (TangoDeviceHelper.isDeviceRunning(dataRecorderDeviceName)) {
                                    DeviceProxy dataRecorderProxy = TangoDeviceHelper
                                            .getDeviceProxy(dataRecorderDeviceName);
View Full Code Here

                    DeviceAttribute attribute = scanProxy.read_attribute("dataRecorded");
                    if (attribute.extractBoolean()) {
                        String dataRecorderDeviceName = "storage/recorder/datarecorder.1";
                        Database database = TangoDeviceHelper.getDatabase();
                        if (database != null) {
                            DbDatum dbDatum = database.get_device_property(scanServerName,
                                    "DataRecorder");
                            if (dbDatum != null) {
                                dataRecorderDeviceName = dbDatum.extractString();
                            }

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

                    DeviceAttribute attribute = scanProxy.read_attribute("dataRecorded");
                    if (attribute.extractBoolean()) {
                        String dataRecorderDeviceName = "storage/recorder/datarecorder.1";
                        Database database = TangoDeviceHelper.getDatabase();
                        if (database != null) {
                            DbDatum dbDatum = database.get_device_property(scanServerName,
                                    "DataRecorder");
                            if (dbDatum != null) {
                                dataRecorderDeviceName = dbDatum.extractString();
                            }

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

                    DeviceAttribute attribute = scanProxy.read_attribute("dataRecorded");
                    if (attribute.extractBoolean()) {
                        String dataRecorderDeviceName = "storage/recorder/datarecorder.1";
                        Database database = TangoDeviceHelper.getDatabase();
                        if (database != null) {
                            DbDatum dbDatum = database.get_device_property(scanServerName,
                                    "DataRecorder");
                            if (dbDatum != null) {
                                dataRecorderDeviceName = dbDatum.extractString();
                            }

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

                    DeviceAttribute attribute = scanProxy.read_attribute("dataRecorded");
                    if (attribute.extractBoolean()) {
                        String dataRecorderDeviceName = "storage/recorder/datarecorder.1";
                        Database database = TangoDeviceHelper.getDatabase();
                        if (database != null) {
                            DbDatum dbDatum = database.get_device_property(scanServerName,
                                    "DataRecorder");
                            if (dbDatum != null) {
                                dataRecorderDeviceName = dbDatum.extractString();
                            }

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

                            nexusFileNameMap.put(scanServerName.toLowerCase(), nexusFileName);
                            String dataRecorderDeviceName = DEFAULT_RECORDER;
                            Database database = TangoDeviceHelper.getDatabase();
                            if (database != null) {
                                DbDatum dbDatum = database.get_device_property(scanServerName, DATA_RECORDER);
                                if (dbDatum != null) {
                                    dataRecorderDeviceName = dbDatum.extractString();
                                }

                                if (TangoDeviceHelper.isDeviceRunning(dataRecorderDeviceName)) {
                                    DeviceProxy dataRecorderProxy = TangoDeviceHelper
                                    .getDeviceProxy(dataRecorderDeviceName);
View Full Code Here

TOP

Related Classes of fr.esrf.TangoApi.DbDatum

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.