changed the multi getdetectortype to return unknown

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@177 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d 2012-05-04 13:47:32 +00:00
parent 9c020fb67d
commit e0333e9f84

View File

@ -403,17 +403,16 @@ string multiSlsDetector::getHostname(int pos) {
string multiSlsDetector::getDetectorsType(int pos) {
string s=string("");
string s=string("Unknown");
#ifdef VERBOSE
cout << "returning type " << pos << endl;
#endif
if (pos>=0) {
if (detectors[pos])
return detectors[pos]->getDetectorsType();
} else
} else if (detectors[0])
return detectors[0]->getDetectorsType();
return s;
}