mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 13:01:12 +01:00
help in cmdline, fixed get for daclist in python
This commit is contained in:
@@ -1571,8 +1571,12 @@ class Detector(CppDetectorApi):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def daclist(self):
|
def daclist(self):
|
||||||
"""Gets the list of enums for every dac for this detector."""
|
"""
|
||||||
return self.getDacList()
|
List of enums for every dac for this detector.
|
||||||
|
:setter: Only implemented for Chiptestboard
|
||||||
|
|
||||||
|
"""
|
||||||
|
return self.getDacNames()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def dacvalues(self):
|
def dacvalues(self):
|
||||||
|
|||||||
@@ -1128,10 +1128,11 @@ std::string CmdProxy::DacList(const int action) {
|
|||||||
std::ostringstream os;
|
std::ostringstream os;
|
||||||
os << cmd << ' ';
|
os << cmd << ' ';
|
||||||
if (action == slsDetectorDefs::HELP_ACTION) {
|
if (action == slsDetectorDefs::HELP_ACTION) {
|
||||||
os << "\n\t\tGets the list of dac names for every dac for this "
|
os << "\n\t[dacname1 dacname2 .. dacname18] \n\t\t[ChipTestBoard] Set "
|
||||||
"detector.\n\t[dacname1 dacname2 .. dacname18] "
|
"the list of dac names for this detector.\n\t\t[All] Gets the "
|
||||||
"\n\t\t[ChipTestBoard] Set the list of dac names for this "
|
"list "
|
||||||
"detector."
|
"of "
|
||||||
|
"dac names for every dac for this detector."
|
||||||
<< '\n';
|
<< '\n';
|
||||||
} else if (action == slsDetectorDefs::GET_ACTION) {
|
} else if (action == slsDetectorDefs::GET_ACTION) {
|
||||||
if (!args.empty()) {
|
if (!args.empty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user