mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 14:04:57 +01:00
added top
This commit is contained in:
@@ -1679,6 +1679,15 @@ void Module::setDataStream(const portPosition port, const bool enable) {
|
||||
}
|
||||
}
|
||||
|
||||
bool Module::getTop() const {
|
||||
return (
|
||||
!static_cast<bool>(sendToDetector<int>(F_GET_TOP)));
|
||||
}
|
||||
|
||||
void Module::setTop(bool value) {
|
||||
sendToDetector<int>(F_SET_TOP, static_cast<int>(value));
|
||||
}
|
||||
|
||||
// Jungfrau Specific
|
||||
double Module::getChipVersion() const {
|
||||
return (sendToDetector<int>(F_GET_CHIP_VERSION)) / 10.00;
|
||||
|
||||
Reference in New Issue
Block a user