mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-16 21:26:50 +01:00
merge from 3.0.1 for server binaries (adcphase,server dates, temp control, settings file
This commit is contained in:
@@ -541,13 +541,13 @@ class slsDetector : public slsDetectorUtils, public energyConversion {
|
||||
/**
|
||||
returns currently the loaded trimfile/settingsfile name
|
||||
*/
|
||||
const char *getSettingsFile(){\
|
||||
string getSettingsFile(){\
|
||||
string s(thisDetector->settingsFile); \
|
||||
if (s.length()>6) {\
|
||||
if (s.substr(s.length()-6,3)==string(".sn") && s.substr(s.length()-3)!=string("xxx") ) \
|
||||
return s.substr(0,s.length()-6).c_str(); \
|
||||
return s.substr(0,s.length()-6); \
|
||||
} \
|
||||
return thisDetector->settingsFile;\
|
||||
return string(thisDetector->settingsFile);\
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user