stop command: Support single (half)module stop

This commit is contained in:
2021-04-21 15:40:51 +02:00
parent 05ddc5caaf
commit d5c10aa3e7
3 changed files with 5 additions and 5 deletions

View File

@ -697,7 +697,7 @@ void Detector::startDetectorReadout() {
pimpl->Parallel(&Module::startReadout, {});
}
void Detector::stopDetector() { pimpl->Parallel(&Module::stopAcquisition, {}); }
void Detector::stopDetector(Positions pos) { pimpl->Parallel(&Module::stopAcquisition, pos); }
Result<defs::runStatus> Detector::getDetectorStatus(Positions pos) const {
return pimpl->Parallel(&Module::getRunStatus, pos);
@ -2092,4 +2092,4 @@ std::vector<int> Detector::getPortNumbers(int start_port) {
return res;
}
} // namespace sls
} // namespace sls