Examples of extractBoolean()


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

                    if ( "Boards".equalsIgnoreCase( property.name ) ) {
                        String[] boardsValue = property.extractStringArray();
                        boards.addAll( Arrays.asList(boardsValue) );
                    }
                    else if ( "isMaster".equalsIgnoreCase(property.name) ) {
                        isMaster = property.extractBoolean();
                    }
                    else if ( "Buffered".equalsIgnoreCase(property.name) ) {
                        buffered = property.extractBoolean();
                    }
                    else if ( "Slaves".equalsIgnoreCase(property.name) ) {
View Full Code Here

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

                    }
                    else if ( "isMaster".equalsIgnoreCase(property.name) ) {
                        isMaster = property.extractBoolean();
                    }
                    else if ( "Buffered".equalsIgnoreCase(property.name) ) {
                        buffered = property.extractBoolean();
                    }
                    else if ( "Slaves".equalsIgnoreCase(property.name) ) {
                        String[] slavesValue = property.extractStringArray();
                        slaves.addAll( Arrays.asList(slavesValue) );
                    }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractBoolean()

      int type = -1;
      if (format.equalsIgnoreCase("SCALAR") && stype != null
          && !stype.equals("")) {
        type = toType(stype);
        if (type == 1) { // Boolean
          send("read", attr.extractBoolean());
        } else if (type >= 2 && type <= 7) { // Number
          send("read", attr.extractDouble());
        } else if (type == 8) { // String
          send("read", attr.extractString());
        }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractBoolean()

                // //storage/recorder/datarecorder.1/
                DeviceProxy scanProxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
                if (scanProxy != null) {
                    try {
                        DeviceAttribute attribute = scanProxy.read_attribute(DATA_RECORDED);
                        boolean dataRecorded = attribute.extractBoolean();
                        if (dataRecorded) {
                            String nexusFileName = null;
                            while ((nexusFileName == null) || nexusFileName.isEmpty()) {
                                attribute = scanProxy.read_attribute(NEXUS_FILE);
                                if (attribute != null) {
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractBoolean()

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(attributeName);
                    result = attribute.extractBoolean();
                }
                catch (DevFailed e) {
                }
            }
        }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractBoolean()

                // //storage/recorder/datarecorder.1/
                DeviceProxy scanProxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
                if (scanProxy != null) {
                    try {
                        DeviceAttribute attribute = scanProxy.read_attribute(DATA_RECORDED);
                        boolean dataRecorded = attribute.extractBoolean();
                        if (dataRecorded) {
                            String nexusFileName = null;
                            while ((nexusFileName == null) || nexusFileName.isEmpty()) {
                                attribute = scanProxy.read_attribute(NEXUS_FILE);
                                if (attribute != null) {
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractBoolean()

                // Read the property of DataRecorder = //storage/recorder/datarecorder.1/
                DeviceProxy scanProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                if (scanProxy != null) {
                    try {
                        DeviceAttribute attribute = scanProxy.read_attribute("dataRecorded");
                        boolean dataRecorded = attribute.extractBoolean();
                        if (dataRecorded) {
                            String nexusFileName = null;
                            while (nexusFileName == null || nexusFileName.isEmpty()) {
                                attribute = scanProxy.read_attribute("generatedNexusFileName");
                                if (attribute != null) {
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractBoolean()

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(attributeName);
                    result = attribute.extractBoolean();
                }
                catch (DevFailed e) {
                }
            }
        }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractBoolean()

                // //storage/recorder/datarecorder.1/
                DeviceProxy scanProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                if (scanProxy != null) {
                    try {
                        DeviceAttribute attribute = scanProxy.read_attribute(DATA_RECORDED);
                        boolean dataRecorded = attribute.extractBoolean();
                        if (dataRecorded) {
                            String nexusFileName = null;
                            while ((nexusFileName == null) || nexusFileName.isEmpty()) {
                                attribute = scanProxy.read_attribute(NEXUS_FILE);
                                if (attribute != null) {
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractBoolean()

                // //storage/recorder/datarecorder.1/
                DeviceProxy scanProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                if (scanProxy != null) {
                    try {
                        DeviceAttribute attribute = scanProxy.read_attribute(DATA_RECORDED);
                        boolean dataRecorded = attribute.extractBoolean();
                        if (dataRecorded) {
                            String nexusFileName = null;
                            while (nexusFileName == null || nexusFileName.isEmpty()) {
                                attribute = scanProxy.read_attribute(NEXUS_FILE);
                                if (attribute != null) {
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.