Examples of extractLong()


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

            int row;
            IScanPoint[][] scanPointsMatrix;
            try {
                // Type
                DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute("scanType");
                int scanType = scanTypeAttribute.extractLong();
                if(scanType != 2) {
                    return null;
                }
                scanResult = new ScanResult2DImpl();
                scanResult.setResultType(IScanResult.ResultType.RESULT_2D);
View Full Code Here

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

            int pointIndex;
            try {
                // Type
                DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute("scanType");
                int scanType = scanTypeAttribute.extractLong();
                if (scanType != 1 && scanType != 0) {
                    return null;
                }

                scanResult = new ScanResult1DImpl();
View Full Code Here

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

            if (isScanResultReady()) {
                try {
                    // Type
                    actionName = "read_attribute(\"" + CurrentScanDataModel.SCAN_TYPE + "\")";
                    DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute(CurrentScanDataModel.SCAN_TYPE);
                    int scanType = scanTypeAttribute.extractLong();
                    LOGGER.trace("{}.{}={}", scanServerName, actionName, String.valueOf(scanType));
                    // 0 -> time scan
                    // 1 -> scan 1d
                    // 2 -> scan 2d
                    switch (scanType) {
View Full Code Here

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

            if (isScanResultReady()) {
                try {
                    // Type
                    actionName = "read_attribute(\"" + CurrentScanDataModel.SCAN_TYPE + "\")";
                    DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute(CurrentScanDataModel.SCAN_TYPE);
                    int scanType = scanTypeAttribute.extractLong();
                    // 0 -> time scan
                    // 1 -> scan 1d
                    // 2 -> scan 2d
                    switch (scanType) {
                        case 0:
View Full Code Here

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

            if (isScanResultReady()) {
                try {
                    // Type
                    actionName = "read_attribute(\"" + CurrentScanDataModel.SCAN_TYPE + "\")";
                    DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute(CurrentScanDataModel.SCAN_TYPE);
                    int scanType = scanTypeAttribute.extractLong();
                    // 0 -> time scan
                    // 1 -> scan 1d
                    // 2 -> scan 2d
                    switch (scanType) {
                        case 0:
View Full Code Here

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

                int pointIndex;
                try {
                    // Type
                    DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute("scanType");
                    int scanType = scanTypeAttribute.extractLong();
                    if (scanType != 1 && scanType != 0) {
                        return null;
                    }

                    scanResult = new ScanResult1DImpl();
View Full Code Here

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

                int pointIndex;
                try {
                    // Type
                    DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute("scanType");
                    int scanType = scanTypeAttribute.extractLong();
                    if (scanType != 1 && scanType != 0) {
                        return null;
                    }

                    scanResult = new ScanResult1DImpl();
View Full Code Here

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

          actuatorsDataList = readActuatorsDataList;

          deviceAttribute = proxy.read_attribute(SCAN_TYPE);

          // 1D
          if (deviceAttribute.extractLong() == 1) {
            referenceAxis = DiplayManagerTableModel.AXIS_1D;
            tableModel.setReferenceAxis(referenceAxis);
          } else {
            referenceAxis = DiplayManagerTableModel.AXIS_2D;
            tableModel.setReferenceAxis(referenceAxis);
View Full Code Here

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

            int row;
            IScanPoint[][] scanPointsMatrix;
            try {
                // Type
                DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute("scanType");
                int scanType = scanTypeAttribute.extractLong();
                if (scanType != 2) {
                    return null;
                }
                scanResult = new ScanResult2DImpl();
                scanResult.setResultType(IScanResult.ResultType.RESULT_2D);
View Full Code Here

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

           
            int pointIndex;
            try {
                // Type
                DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute("scanType");
                int scanType = scanTypeAttribute.extractLong();
                if(scanType != 1 && scanType != 0) {
                    return null;
                }
               
                scanResult = new ScanResult1DImpl();
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.