This commit is contained in:
2019-08-16 17:07:30 +02:00
parent 336f8ceb50
commit 10ce82fc5f
10 changed files with 115 additions and 181 deletions

View File

@ -148,16 +148,9 @@ std::string slsReceiverImplementation::getDetectorHostname() const {
return std::string(detHostname);
}
int slsReceiverImplementation::getFlippedData(int axis) const {
int slsReceiverImplementation::getFlippedDataX() const {
FILE_LOG(logDEBUG3) << __SHORT_AT__ << " called";
switch(axis) {
case 0:
return flippedDataX;
case 1:
return 0;
default:
return -1;
}
return flippedDataX;
}
bool slsReceiverImplementation::getGapPixelsEnable() const {
@ -482,10 +475,8 @@ void slsReceiverImplementation::setMultiDetectorSize(const int *size) {
FILE_LOG(logINFO) << log_message;
}
void slsReceiverImplementation::setFlippedData(int axis, int enable) {
void slsReceiverImplementation::setFlippedDataX(int enable) {
FILE_LOG(logDEBUG3) << __SHORT_AT__ << " called";
if (axis != 0)
return;
flippedDataX = (enable == 0) ? 0 : 1;
if (!quadEnable) {