mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 00:07:13 +02:00
check not done
This commit is contained in:
@ -1246,16 +1246,16 @@ string slsDetector::checkOnline() {
|
||||
delete controlSocket;
|
||||
controlSocket=NULL;
|
||||
retval = string(thisDetector->hostname);
|
||||
//#ifdef VERBOSE
|
||||
#ifdef VERBOSE
|
||||
std::cout<< "offline!" << std::endl;
|
||||
//#endif
|
||||
#endif
|
||||
} else {
|
||||
thisDetector->onlineFlag=ONLINE_FLAG;
|
||||
controlSocket->SetTimeOut(100);
|
||||
disconnectControl();
|
||||
//#ifdef VERBOSE
|
||||
#ifdef VERBOSE
|
||||
std::cout<< "online!" << std::endl;
|
||||
//#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return retval;
|
||||
|
Reference in New Issue
Block a user