more funcs

This commit is contained in:
Erik Frojdh
2019-09-20 17:46:52 +02:00
parent dde24559f3
commit 07f71d3886
3 changed files with 50 additions and 4 deletions

View File

@ -443,12 +443,12 @@ void Detector::setTenGiga(bool value, Positions pos) {
static_cast<int>(value));
}
Result<bool> Detector::getTenGigaGFlowControl(Positions pos) const {
Result<bool> Detector::getTenGigaFlowControl(Positions pos) const {
return pimpl->Parallel(&slsDetector::setDetectorNetworkParameter, pos,
defs::FLOW_CONTROL_10G, -1);
}
void Detector::setTenGigaGFlowControl(bool enable, Positions pos) {
void Detector::setTenGigaFlowControl(bool enable, Positions pos) {
pimpl->Parallel(&slsDetector::setDetectorNetworkParameter, pos,
defs::FLOW_CONTROL_10G, static_cast<int>(enable));
}