Examples of ScanStatusImpl


Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            // System.out.println("scanServerProxy=" + scanServerProxy);
            if (scanServerProxy == null) {
                // scanServerManager.invalidateScanServerProxy(scanServerName);
                /*Exception e = new Exception("Error : cannot read scan status informations on "
                        + scanServerName);
                throw new SalsaDeviceException("Error : cannot read scan status informations : "
                        + e.getMessage(), e);*/
                return result;

            }

            result.setState("" + DeviceConnectionManager.getDeviceState(scanServerName));
            result.setStatus(DeviceConnectionManager.getDeviceStatus(scanServerName));

            result.setRunStartDate(AttributeManager.readStringAttribute(scanServerName
                    + "/runStartDate"));

            result.setScanEndDate(AttributeManager.readStringAttribute(scanServerName
                    + "/scanEndDate"));

            result.setRunEndDate(AttributeManager.readStringAttribute(scanServerName
                    + "/runEndDate"));

            result.setScanDuration(AttributeManager.readStringAttribute(scanServerName
                    + "/scanDuration"));

            result.setRunDuration(AttributeManager.readStringAttribute(scanServerName
                    + "/runDuration"));

            result.setScanRemainingTime(AttributeManager.readStringAttribute(scanServerName
                    + "/scanRemainingTime"));

            result.setRunRemainingTime(AttributeManager.readStringAttribute(scanServerName
                    + "/runRemainingTime"));

            result.setScanElapsed(AttributeManager.readStringAttribute(scanServerName
                    + "/scanElapsed"));

            result.setRunElapsed(AttributeManager.readStringAttribute(scanServerName
                    + "/runElapsed"));

            result.setRunCompletion(AttributeManager.readDoubleAttribute(scanServerName
                    + "/runCompletion"));

            result.setScanCompletion(AttributeManager.readDoubleAttribute(scanServerName
                    + "/scanCompletion"));

            result.setDeadTime(AttributeManager.readDoubleAttribute(scanServerName + "/deadTime"));

            result.setDeadTimePercentage(AttributeManager.readDoubleAttribute(scanServerName
                    + "/deadTimePercent"));

            result.setDeadTimePerPoint(AttributeManager.readDoubleAttribute(scanServerName
                    + "/deadTimePerPoint"));

            return result;
        }
        catch (Exception e) {
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = getScanServerProxy(scanServerName);
            DevState state = scanServerProxy.read_attribute("State").extractState();
            result.setState("" + state.value());

            result.setStatus(scanServerProxy.read_attribute("Status").extractString());
            result.setRunStartDate(scanServerProxy.read_attribute("runStartDate").extractString());
            result
                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
            result.setRunEndDate(scanServerProxy.read_attribute("runEndDate").extractString());
            result.setScanDuration(scanServerProxy.read_attribute("scanDuration").extractString());
            result.setRunDuration(scanServerProxy.read_attribute("runDuration").extractString());
            result.setScanRemainingTime(scanServerProxy.read_attribute("scanRemainingTime")
                    .extractString());
            result.setRunRemainingTime(scanServerProxy.read_attribute("runRemainingTime")
                    .extractString());
            result.setScanElapsed(scanServerProxy.read_attribute("scanElapsed").extractString());
            result.setRunElapsed(scanServerProxy.read_attribute("runElapsed").extractString());
            result
                    .setRunCompletion(scanServerProxy.read_attribute("runCompletion")
                            .extractDouble());
            result.setScanCompletion(scanServerProxy.read_attribute("scanCompletion")
                    .extractDouble());
            result.setDeadTime(scanServerProxy.read_attribute("deadTime").extractDouble());
            result.setDeadTimePercentage(scanServerProxy.read_attribute("deadTimePercent")
                    .extractDouble());
            result.setDeadTimePerPoint(scanServerProxy.read_attribute("deadTimePerPoint")
                    .extractDouble());
            return result;
        }
        catch (DevFailed e) {
            invalidateScanServerProxy(scanServerName);
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            IScanStatus result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = getScanServerProxy(scanServerName);
            DevState state = scanServerProxy.read_attribute("State").extractState();
            result.setState("" + state.value());

            result.setStatus(scanServerProxy.read_attribute("Status").extractString());
            result.setRunStartDate(scanServerProxy.read_attribute("runStartDate").extractString());
            result
                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
            result.setRunEndDate(scanServerProxy.read_attribute("runEndDate").extractString());
            result.setScanDuration(scanServerProxy.read_attribute("scanDuration").extractString());
            result.setRunDuration(scanServerProxy.read_attribute("runDuration").extractString());
            result.setScanRemainingTime(scanServerProxy.read_attribute("scanRemainingTime")
                    .extractString());
            result.setRunRemainingTime(scanServerProxy.read_attribute("runRemainingTime")
                    .extractString());
            result.setScanElapsed(scanServerProxy.read_attribute("scanElapsed").extractString());
            result.setRunElapsed(scanServerProxy.read_attribute("runElapsed").extractString());
            result
                    .setRunCompletion(scanServerProxy.read_attribute("runCompletion")
                            .extractDouble());
            result.setScanCompletion(scanServerProxy.read_attribute("scanCompletion")
                    .extractDouble());
            result.setDeadTime(scanServerProxy.read_attribute("deadTime").extractDouble());
            result.setDeadTimePercentage(scanServerProxy.read_attribute("deadTimePercent")
                    .extractDouble());
            result.setDeadTimePerPoint(scanServerProxy.read_attribute("deadTimePerPoint")
                    .extractDouble());
            return result;
        }
        catch (DevFailed e) {
            invalidateScanServerProxy(scanServerName);
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @param scanServerName
     * @return
     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        ScanStatusImpl result = new ScanStatusImpl();
        DeviceProxy scanServerProxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
        if (scanServerProxy != null) {
            try {
                result.setState("" + CurrentScanDataModel.getState(scanServerName));
                result.setStatus(CurrentScanDataModel.getStatus(scanServerName));

                result.setRunStartDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_START_DATE));

                result.setScanEndDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_END_DATE));

                result.setRunEndDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_END_DATE));

                result.setScanDuration(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_DURATION));

                result.setRunDuration(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_DURATION));

                result.setScanRemainingTime(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_REMAINING_TIME));

                result.setRunRemainingTime(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_REMAINING_TIME));

                result.setScanElapsed(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_ELAPSED));

                result.setRunElapsed(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_ELAPSED));

                result.setRunCompletion(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.RUN_COMPLETION));

                result.setScanCompletion(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_COMPLETION));

                result.setDeadTime(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME));

                result.setDeadTimePercentage(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME_PERCENT));

                result.setDeadTimePerPoint(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME_PER_POINT));
            } catch (Exception e) {
                throw new SalsaDeviceException("Error : cannot read scan status informations : "
                        + Except.str_exception(e), e);
            }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = scanServerManager.getScanServerProxy(scanServerName);
            // System.out.println("scanServerProxy=" + scanServerProxy);
            if (scanServerProxy == null) {
                // scanServerManager.invalidateScanServerProxy(scanServerName);
                /*Exception e = new Exception("Error : cannot read scan status informations on "
                        + scanServerName);
                throw new SalsaDeviceException("Error : cannot read scan status informations : "
                        + e.getMessage(), e);*/
                return result;

            }

            result.setState("" + DeviceConnectionManager.getDeviceStateNumber(scanServerName));
            result.setStatus(DeviceConnectionManager.getDeviceStatus(scanServerName));

            result.setRunStartDate(AttributeManager.readStringAttribute(scanServerName
                    + "/runStartDate"));

            result.setScanEndDate(AttributeManager.readStringAttribute(scanServerName
                    + "/scanEndDate"));

            result.setRunEndDate(AttributeManager.readStringAttribute(scanServerName
                    + "/runEndDate"));

            result.setScanDuration(AttributeManager.readStringAttribute(scanServerName
                    + "/scanDuration"));

            result.setRunDuration(AttributeManager.readStringAttribute(scanServerName
                    + "/runDuration"));

            result.setScanRemainingTime(AttributeManager.readStringAttribute(scanServerName
                    + "/scanRemainingTime"));

            result.setRunRemainingTime(AttributeManager.readStringAttribute(scanServerName
                    + "/runRemainingTime"));

            result.setScanElapsed(AttributeManager.readStringAttribute(scanServerName
                    + "/scanElapsed"));

            result.setRunElapsed(AttributeManager.readStringAttribute(scanServerName
                    + "/runElapsed"));

            result.setRunCompletion(AttributeManager.readDoubleAttribute(scanServerName
                    + "/runCompletion"));

            result.setScanCompletion(AttributeManager.readDoubleAttribute(scanServerName
                    + "/scanCompletion"));

            result.setDeadTime(AttributeManager.readDoubleAttribute(scanServerName + "/deadTime"));

            result.setDeadTimePercentage(AttributeManager.readDoubleAttribute(scanServerName
                    + "/deadTimePercent"));

            result.setDeadTimePerPoint(AttributeManager.readDoubleAttribute(scanServerName
                    + "/deadTimePerPoint"));

            return result;
        }
        catch (Exception e) {
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            // System.out.println("scanServerProxy=" + scanServerProxy);
            if (scanServerProxy == null) {
                // scanServerManager.invalidateScanServerProxy(scanServerName);
                /*Exception e = new Exception("Error : cannot read scan status informations on "
                        + scanServerName);
                throw new SalsaDeviceException("Error : cannot read scan status informations : "
                        + e.getMessage(), e);*/
                return result;

            }

            result.setState("" + DeviceConnectionManager.getDeviceState(scanServerName));
            result.setStatus(DeviceConnectionManager.getDeviceStatus(scanServerName));

            result.setRunStartDate(AttributeManager.readStringAttribute(scanServerName
                    + "/runStartDate"));

            result.setScanEndDate(AttributeManager.readStringAttribute(scanServerName
                    + "/scanEndDate"));

            result.setRunEndDate(AttributeManager.readStringAttribute(scanServerName
                    + "/runEndDate"));

            result.setScanDuration(AttributeManager.readStringAttribute(scanServerName
                    + "/scanDuration"));

            result.setRunDuration(AttributeManager.readStringAttribute(scanServerName
                    + "/runDuration"));

            result.setScanRemainingTime(AttributeManager.readStringAttribute(scanServerName
                    + "/scanRemainingTime"));

            result.setRunRemainingTime(AttributeManager.readStringAttribute(scanServerName
                    + "/runRemainingTime"));

            result.setScanElapsed(AttributeManager.readStringAttribute(scanServerName
                    + "/scanElapsed"));

            result.setRunElapsed(AttributeManager.readStringAttribute(scanServerName
                    + "/runElapsed"));

            result.setRunCompletion(AttributeManager.readDoubleAttribute(scanServerName
                    + "/runCompletion"));

            result.setScanCompletion(AttributeManager.readDoubleAttribute(scanServerName
                    + "/scanCompletion"));

            result.setDeadTime(AttributeManager.readDoubleAttribute(scanServerName + "/deadTime"));

            result.setDeadTimePercentage(AttributeManager.readDoubleAttribute(scanServerName
                    + "/deadTimePercent"));

            result.setDeadTimePerPoint(AttributeManager.readDoubleAttribute(scanServerName
                    + "/deadTimePerPoint"));

            return result;
        }
        catch (Exception e) {
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            // System.out.println("scanServerProxy=" + scanServerProxy);
            if (scanServerProxy != null) {
                result.setState("" + CurrentScanDataModel.getState(scanServerName));
                result.setStatus(CurrentScanDataModel.getStatus(scanServerName));

                result.setRunStartDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_START_DATE));

                result.setScanEndDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_END_DATE));

                result.setRunEndDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_END_DATE));

                result.setScanDuration(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_DURATION));

                result.setRunDuration(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_DURATION));

                result.setScanRemainingTime(CurrentScanDataModel.readStringAttribute(
                        scanServerName, CurrentScanDataModel.SCAN_REMAINING_TIME));

                result.setRunRemainingTime(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_REMAINING_TIME));

                result.setScanElapsed(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_ELAPSED));

                result.setRunElapsed(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_ELAPSED));

                result.setRunCompletion(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.RUN_COMPLETION));

                result.setScanCompletion(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_COMPLETION));

                result.setDeadTime(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME));

                result.setDeadTimePercentage(CurrentScanDataModel.readDoubleAttribute(
                        scanServerName, CurrentScanDataModel.DEAD_TIME_PERCENT));

                result.setDeadTimePerPoint(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME_PER_POINT));
            }

            return result;
        }
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            // System.out.println("scanServerProxy=" + scanServerProxy);
            if (scanServerProxy != null) {
                result.setState("" + CurrentScanDataModel.getState(scanServerName));
                result.setStatus(CurrentScanDataModel.getStatus(scanServerName));

                result.setRunStartDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_START_DATE));

                result.setScanEndDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_END_DATE));

                result.setRunEndDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_END_DATE));

                result.setScanDuration(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_DURATION));

                result.setRunDuration(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_DURATION));

                result.setScanRemainingTime(CurrentScanDataModel.readStringAttribute(
                        scanServerName, CurrentScanDataModel.SCAN_REMAINING_TIME));

                result.setRunRemainingTime(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_REMAINING_TIME));

                result.setScanElapsed(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_ELAPSED));

                result.setRunElapsed(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_ELAPSED));

                result.setRunCompletion(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.RUN_COMPLETION));

                result.setScanCompletion(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_COMPLETION));

                result.setDeadTime(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME));

                result.setDeadTimePercentage(CurrentScanDataModel.readDoubleAttribute(
                        scanServerName, CurrentScanDataModel.DEAD_TIME_PERCENT));

                result.setDeadTimePerPoint(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME_PER_POINT));
            }
            return result;
        }
        catch (Exception e) {
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            // System.out.println("scanServerProxy=" + scanServerProxy);
            if (scanServerProxy == null) {
                // scanServerManager.invalidateScanServerProxy(scanServerName);
                /*Exception e = new Exception("Error : cannot read scan status informations on "
                        + scanServerName);
                throw new SalsaDeviceException("Error : cannot read scan status informations : "
                        + e.getMessage(), e);*/
                return result;

            }

            result.setState("" + DeviceConnectionManager.getDeviceState(scanServerName));
            result.setStatus(DeviceConnectionManager.getDeviceStatus(scanServerName));

            result.setRunStartDate(AttributeManager.readStringAttribute(scanServerName
                    + "/runStartDate"));

            result.setScanEndDate(AttributeManager.readStringAttribute(scanServerName
                    + "/scanEndDate"));

            result.setRunEndDate(AttributeManager.readStringAttribute(scanServerName
                    + "/runEndDate"));

            result.setScanDuration(AttributeManager.readStringAttribute(scanServerName
                    + "/scanDuration"));

            result.setRunDuration(AttributeManager.readStringAttribute(scanServerName
                    + "/runDuration"));

            result.setScanRemainingTime(AttributeManager.readStringAttribute(scanServerName
                    + "/scanRemainingTime"));

            result.setRunRemainingTime(AttributeManager.readStringAttribute(scanServerName
                    + "/runRemainingTime"));

            result.setScanElapsed(AttributeManager.readStringAttribute(scanServerName
                    + "/scanElapsed"));

            result.setRunElapsed(AttributeManager.readStringAttribute(scanServerName
                    + "/runElapsed"));

            result.setRunCompletion(AttributeManager.readDoubleAttribute(scanServerName
                    + "/runCompletion"));

            result.setScanCompletion(AttributeManager.readDoubleAttribute(scanServerName
                    + "/scanCompletion"));

            result.setDeadTime(AttributeManager.readDoubleAttribute(scanServerName + "/deadTime"));

            result.setDeadTimePercentage(AttributeManager.readDoubleAttribute(scanServerName
                    + "/deadTimePercent"));

            result.setDeadTimePerPoint(AttributeManager.readDoubleAttribute(scanServerName
                    + "/deadTimePerPoint"));

            return result;
        }
        catch (Exception e) {
View Full Code Here

Examples of fr.soleil.salsa.entity.impl.ScanStatusImpl

     * @throws SalsaDeviceException
     */
    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            // System.out.println("scanServerProxy=" + scanServerProxy);
            if (scanServerProxy != null) {
                result.setState("" + CurrentScanDataModel.getState(scanServerName));
                result.setStatus(CurrentScanDataModel.getStatus(scanServerName));

                result.setRunStartDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_START_DATE));

                result.setScanEndDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_END_DATE));

                result.setRunEndDate(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_END_DATE));

                result.setScanDuration(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_DURATION));

                result.setRunDuration(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_DURATION));

                result.setScanRemainingTime(CurrentScanDataModel.readStringAttribute(
                        scanServerName, CurrentScanDataModel.SCAN_REMAINING_TIME));

                result.setRunRemainingTime(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_REMAINING_TIME));

                result.setScanElapsed(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_ELAPSED));

                result.setRunElapsed(CurrentScanDataModel.readStringAttribute(scanServerName,
                        CurrentScanDataModel.RUN_ELAPSED));

                result.setRunCompletion(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.RUN_COMPLETION));

                result.setScanCompletion(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.SCAN_COMPLETION));

                result.setDeadTime(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME));

                result.setDeadTimePercentage(CurrentScanDataModel.readDoubleAttribute(
                        scanServerName, CurrentScanDataModel.DEAD_TIME_PERCENT));

                result.setDeadTimePerPoint(CurrentScanDataModel.readDoubleAttribute(scanServerName,
                        CurrentScanDataModel.DEAD_TIME_PER_POINT));
            }

            return result;
        }
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.