DiffractionExperiment: slsDetectorPackage use string for server version
This commit is contained in:
@@ -205,10 +205,10 @@ int64_t DetectorWrapper::GetFirmwareVersion() {
|
||||
}
|
||||
}
|
||||
|
||||
int64_t DetectorWrapper::GetDetectorServerVersion() {
|
||||
std::string DetectorWrapper::GetDetectorServerVersion() {
|
||||
try {
|
||||
auto result = det.getDetectorServerVersion();
|
||||
return result.squash(0x0);
|
||||
return result.squash("");
|
||||
} catch (std::exception &e) {
|
||||
throw JFJochException(JFJochExceptionCategory::Detector, e.what());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user