* Reads the state of the server and returns true if a scan is running.
*
* @return
*/
protected ScanState readScanState(String stringState) {
ScanState newState = ScanState.STOPPED;
if (stringState != null) {
if (stringState.equalsIgnoreCase(StateUtilities.getNameForState(DevState.RUNNING))
|| stringState
.equalsIgnoreCase(StateUtilities.getNameForState(DevState.MOVING))) {
newState = ScanState.RUNNING;