mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-08 19:18:40 +01:00
cmd generation and formatting
This commit is contained in:
@@ -2769,22 +2769,8 @@ int InferAction::rx_realudpsocksize() {
|
||||
|
||||
int InferAction::rx_roi() {
|
||||
|
||||
if (args.size() == 0) {
|
||||
return slsDetectorDefs::GET_ACTION;
|
||||
}
|
||||
|
||||
if (args.size() == 2) {
|
||||
return slsDetectorDefs::PUT_ACTION;
|
||||
}
|
||||
|
||||
if (args.size() == 4) {
|
||||
return slsDetectorDefs::PUT_ACTION;
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
throw RuntimeError("Could not infer action: Wrong number of arguments");
|
||||
}
|
||||
throw RuntimeError("sls_detector is disabled for command: rx_roi. Use "
|
||||
"sls_detector_get or sls_detector_put");
|
||||
}
|
||||
|
||||
int InferAction::rx_silent() {
|
||||
|
||||
Reference in New Issue
Block a user