mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
jungfrau dacs named
This commit is contained in:
@ -130,6 +130,17 @@ class qDefs : public QWidget {
|
||||
NUM_GUI_FUNCS
|
||||
};
|
||||
|
||||
/** returns string from enabled/disabled
|
||||
@param b true or false
|
||||
@returns string enabled, disabled
|
||||
*/
|
||||
static std::string stringEnable(bool b) {
|
||||
if (b)
|
||||
return std::string("enabled");
|
||||
else
|
||||
return std::string("disabled");
|
||||
};
|
||||
|
||||
/**
|
||||
* returns the unit in words
|
||||
* @param unit is the time unit
|
||||
|
Reference in New Issue
Block a user