mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 15:00:02 +02:00
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:
parent
9c020fb67d
commit
e0333e9f84
@ -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;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user