jungfrau dacs named

This commit is contained in:
2019-10-29 18:11:16 +01:00
parent 925a750f9a
commit fe467cdf70
27 changed files with 702 additions and 534 deletions

View File

@ -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