Examples of IScanResult


Examples of fr.soleil.salsa.entity.IScanResult

    /**
     * Returns the scan result.
     */
    public IScanResult getScanResult() {
        IScanResult scanResult;
        if (!inError) {
            String scanServerName = getScanServer();
            try {
                if (scanServerName != null && !scanServerName.isEmpty()) {
                    if (ScanApi.isScanResultReady(scanServerName)) {
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

        noReadCycles = 0;
        if (!autoRefresh && !inError) {
            setAutoRefresh(true);
        }
        NumberMatrix data;
        IScanResult scanResult = getScanResult();
        if (scanResult != null) {
            data = convertScanResultToNumberMatrix(scanResult);
        }
        else {
            data = null;
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

    /**
     * Returns the scan result.
     */
    public IScanResult getScanResult() {
        IScanResult scanResult;
        if (!inError) {
            String scanServerName = ModelPreferences.getInstance().getScanServer();
            try {
                if (scanServerName != null && !scanServerName.isEmpty()) {
                    if (ScanApi.isScanResultReady(scanServerName)) {
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

    /**
     * The sensor for the z dimension.
     */
    public ISensor getZSensor() {
        if (zSensor == null) {
            IScanResult scanResult = getScanResult();
            if (scanResult != null) {
                List<ISensor> sensorsXList = scanResult.getSensorsList();
                if (sensorsXList != null && sensorsXList.size() > 0) {
                    zSensor = sensorsXList.get(0);
                }
            }
        }
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

        noReadCycles = 0;
        if (!autoRefresh && !inError) {
            setAutoRefresh(true);
        }
        List<DataArray> data;
        IScanResult scanResult = getScanResult();
        if (scanResult != null && scanResult instanceof IScanResult1D) {
            data = convertScanResultToDataArraysList((IScanResult1D) scanResult);
        }
        else {
            data = null;
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

    /**
     * Returns the scan result.
     */
    public IScanResult getScanResult() {
        IScanResult scanResult;
        if (!inError) {
            String scanServerName = ModelPreferences.getInstance().getScanServer();
            try {
                if (scanServerName != null && !scanServerName.isEmpty()) {
                    if (ScanApi.isScanResultReady(scanServerName)) {
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

     * @throws SalsaDeviceException If a problem occurred while accessing the Scan Server
     * @throws SalsaScanConfigurationException If the Scan Server Scan Type is not supported
     */
    public IScanResult readScanResult(String scanServerName) throws SalsaDeviceException,
            SalsaScanConfigurationException {
        IScanResult scanResult;
        if (isScanResultReady(scanServerName)) {
            // Type
            IConfig.ScanType scanType = getScanType(scanServerName);
            switch (scanType) {
                case SCAN_1D:
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

     *             buffered exception)
     */
    public static IScanResult getBufferedScanResult(String scanServerName)
            throws SalsaDeviceException, SalsaScanConfigurationException {
        Exception scanException = null;
        IScanResult result = null;
        synchronized (SCAN_RESULT_MAP) {
            // get buffered scan result
            result = SCAN_RESULT_MAP.get(scanServerName);
            // no buffered scan result ? check for exceptions
            if (result == null) {
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

        noReadCycles = 0;
        if (!autoRefresh && !inError) {
            setAutoRefresh(true);
        }
        NumberMatrix data;
        IScanResult scanResult = getScanResult();
        if (scanResult != null) {
            data = convertScanResultToNumberMatrix(scanResult);
        }
        else {
            data = null;
View Full Code Here

Examples of fr.soleil.salsa.entity.IScanResult

    /**
     * Returns the scan result.
     */
    public IScanResult getScanResult() {
        IScanResult scanResult;
        if (!inError) {
            String scanServerName = ModelPreferences.getInstance().getScanServer();
            try {
                if (scanServerName != null && !scanServerName.isEmpty()) {
                    if (ScanApi.isScanResultReady(scanServerName)) {
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.