mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
WIP
This commit is contained in:
@ -761,6 +761,11 @@ class CmdProxy {
|
||||
{"stopport", &CmdProxy::stopport},
|
||||
{"lock", &CmdProxy::lock},
|
||||
{"lastclient", &CmdProxy::lastclient},
|
||||
{"execcommand", &CmdProxy::ExecuteCommand},
|
||||
{"nframes", &CmdProxy::nframes},
|
||||
{"now", &CmdProxy::now},
|
||||
{"timestamp", &CmdProxy::timestamp},
|
||||
{"user", &CmdProxy::UserDetails},
|
||||
|
||||
|
||||
|
||||
@ -838,8 +843,8 @@ class CmdProxy {
|
||||
std::string AdcRegister(int action);
|
||||
std::string BitOperations(int action);
|
||||
/* Insignificant */
|
||||
|
||||
|
||||
std::string ExecuteCommand(int action);
|
||||
std::string UserDetails(int action);
|
||||
|
||||
|
||||
/* configuration */
|
||||
@ -1347,6 +1352,15 @@ class CmdProxy {
|
||||
GET_COMMAND(lastclient, getLastClientIP,
|
||||
"\n\tClient IP Address that last communicated with the detector.");
|
||||
|
||||
GET_COMMAND(nframes, getNumberOfFramesFromStart,
|
||||
"\n\t[Gotthard][Jungfrau][CTB] Number of frames from start run control.");
|
||||
|
||||
TIME_GET_COMMAND(now, getActualTime,
|
||||
"[(optional unit) ns|us|ms|s]\n\t[Jungfrau][CTB] Time from detector start up.");
|
||||
|
||||
TIME_GET_COMMAND(timestamp, getMeasurementTime,
|
||||
"[(optional unit) ns|us|ms|s]\n\t[Jungfrau][CTB] Timestamp at a frame start.");
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -44,14 +44,12 @@ class slsDetectorCommand : public virtual slsDetectorDefs {
|
||||
static std::string helpData(int action);
|
||||
static std::string helpFree(int action);
|
||||
static std::string helpHostname(int action);
|
||||
static std::string helpUser(int action);
|
||||
static std::string helpExitServer(int action);
|
||||
static std::string helpThreaded(int action);
|
||||
static std::string helpSettings(int action);
|
||||
static std::string helpSN(int action);
|
||||
static std::string helpDigiTest(int action);
|
||||
static std::string helpDAC(int action);
|
||||
static std::string helpTimeLeft(int action);
|
||||
static std::string helpConfiguration(int action);
|
||||
static std::string helpReceiver(int action);
|
||||
|
||||
@ -64,14 +62,12 @@ class slsDetectorCommand : public virtual slsDetectorDefs {
|
||||
std::string cmdData(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdFree(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdHostname(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdUser(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdHelp(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdExitServer(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdSettings(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdSN(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdDigiTest(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdDAC(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdTimeLeft(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdConfiguration(int narg, const char * const args[], int action, int detPos = -1);
|
||||
std::string cmdReceiver(int narg, const char * const args[], int action, int detPos = -1);
|
||||
|
||||
|
Reference in New Issue
Block a user