Examples of extractString()


Examples of fr.esrf.TangoApi.DbDatum.extractString()

        Database database = TangoDeviceHelper.getDatabase();
        if ((database != null) && (scanServer != null) && !scanServer.isEmpty()) {
            try {
                DbDatum dbDatum = database.get_device_property(scanServer, "DataRecorder");
                if (dbDatum != null) {
                    String dataRecorderDeviceName = dbDatum.extractString();
                    if ((dataRecorderDeviceName != null) && !dataRecorderDeviceName.isEmpty()) {
                        LOGGER.debug("Load model {} on dataRecorder view", dataRecorderDeviceName);
                        view.setBeanModel(dataRecorderDeviceName);
                    }
                }
View Full Code Here

Examples of fr.esrf.TangoApi.DbDatum.extractString()

            Database database = TangoDeviceHelper.getDatabase();
            if ((database != null) && (scanServer != null) && !scanServer.isEmpty()) {
                try {
                    DbDatum dbDatum = database.get_device_property(scanServer, "DataRecorder");
                    if (dbDatum != null) {
                        dataRecorderDeviceName = dbDatum.extractString();
                    }

                    if ((dataRecorderDeviceName != null) && !dataRecorderDeviceName.isEmpty()) {
                        DeviceProxy dataRecorderProxy = TangoDeviceHelper.getDeviceProxy(dataRecorderDeviceName);
                        if (TangoCommandHelper.isCommandExist(dataRecorderDeviceName, "GetConfigList")) {
View Full Code Here

Examples of fr.esrf.TangoApi.DbDatum.extractString()

        Database database = TangoDeviceHelper.getDatabase();
        if (database != null) {
            try {
                DbDatum dbDatum = database.get_device_property(scanServer, "DataRecorder");
                if (dbDatum != null) {
                    String dataRecorderDeviceName = dbDatum.extractString();
                    if (dataRecorderDeviceName != null && !dataRecorderDeviceName.isEmpty()) {
                        view.setBeanModel(dataRecorderDeviceName);
                        return;
                    }
                }
View Full Code Here

Examples of fr.esrf.TangoApi.DbDatum.extractString()

                    }
                    if (database != null) {
                        DbDatum dbDatum = database.get_device_property(context.getScanServerName(),
                                "DataRecorder");
                        if (dbDatum != null) {
                            dataRecorderDeviceName = dbDatum.extractString();
                        }

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

Examples of fr.esrf.TangoApi.DbDatum.extractString()

            Database database = TangoDeviceHelper.getDatabase();
            if (database != null) {
                try {
                    DbDatum dbDatum = database.get_device_property(scanServer, "DataRecorder");
                    if (dbDatum != null) {
                        dataRecorderDeviceName = dbDatum.extractString();
                    }

                    if (dataRecorderDeviceName != null && !dataRecorderDeviceName.isEmpty()) {
                        DeviceProxy dataRecorderProxy = TangoDeviceHelper
                                .getDeviceProxy(dataRecorderDeviceName);
View Full Code Here

Examples of fr.esrf.TangoApi.DbDatum.extractString()

            Database database = TangoDeviceHelper.getDatabase();
            if ((database != null) && (scanServer != null) && !scanServer.isEmpty()) {
                try {
                    DbDatum dbDatum = database.get_device_property(scanServer, "DataRecorder");
                    if (dbDatum != null) {
                        dataRecorderDeviceName = dbDatum.extractString();
                    }

                    if ((dataRecorderDeviceName != null) && !dataRecorderDeviceName.isEmpty()) {
                        DeviceProxy dataRecorderProxy = TangoDeviceHelper.getDeviceProxy(dataRecorderDeviceName);
                        if (TangoCommandHelper.isCommandExist(dataRecorderDeviceName, "GetConfigList")) {
View Full Code Here

Examples of fr.esrf.TangoApi.DbDatum.extractString()

            Database database = TangoDeviceHelper.getDatabase();
            if (database != null) {
                try {
                    DbDatum dbDatum = database.get_device_property(scanServer, "DataRecorder");
                    if (dbDatum != null) {
                        dataRecorderDeviceName = dbDatum.extractString();
                    }

                    if (dataRecorderDeviceName != null && !dataRecorderDeviceName.isEmpty()) {
                        DeviceProxy dataRecorderProxy = TangoDeviceHelper.getDeviceProxy(dataRecorderDeviceName);
                        if (TangoCommandHelper.isCommandExist(dataRecorderDeviceName, "GetConfigList")) {
View Full Code Here

Examples of fr.esrf.TangoApi.DbDatum.extractString()

    String dataRecorderPath = pnl.getDataRecorderPath();
    DeviceProxy deviceProxy = TangoDeviceHelper
        .getDeviceProxy(dataRecorderPath);
    try {
      DbDatum property = deviceProxy.get_property(ARCHIVING_DEVICE_PROP);
      archivingDeviceName = property.extractString();
    } catch (DevFailed e) {
      TechnicalDataMessageManager.notifyReadAttributeErrorDetected(
          dataRecorderPath, ARCHIVING_DEVICE_PROP, e);
    }
    // archivingDeviceName can be null
View Full Code Here

Examples of fr.esrf.TangoApi.DbDatum.extractString()

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

            property = TECH_DEVICE;
            dbDatum = database.get_device_property(getModel(), property);
            tempTechModel = dbDatum.extractString();
View Full Code Here

Examples of fr.esrf.TangoApi.DbDatum.extractString()

            DbDatum dbDatum = database.get_device_property(getModel(), property);
            tempAuthModel = dbDatum.extractString();

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

            if ((tempAuthModel != null) && (!tempAuthModel.trim().isEmpty())
                    && (!ObjectUtils.sameObject(getAuthModel(), tempAuthModel))) {
                authModel = tempAuthModel;
            }
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.