changed name of settings

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@70 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2011-11-28 15:07:01 +00:00
parent 5eab29ed13
commit 5c4dfacadb

View File

@ -2654,7 +2654,7 @@ detectorSettings slsDetector::setSettings( detectorSettings isettings, int imod)
switch(thisDetector->myDetectorType){ switch(thisDetector->myDetectorType){
case GOTTHARD: case GOTTHARD:
minsettings = HIGHGAIN; minsettings = HIGHGAIN;
maxsettings = GAIN3; maxsettings = VERYHIGHGAIN;
break; break;
default: default:
minsettings = STANDARD; minsettings = STANDARD;
@ -2679,16 +2679,16 @@ detectorSettings slsDetector::setSettings( detectorSettings isettings, int imod)
ssettings="/dynamicgain"; ssettings="/dynamicgain";
thisDetector->currentSettings=DYNAMICGAIN; thisDetector->currentSettings=DYNAMICGAIN;
break; break;
case GAIN1: case LOWGAIN:
ssettings="/gain1"; ssettings="/lowgain";
thisDetector->currentSettings=GAIN1; thisDetector->currentSettings=GAIN1;
break; break;
case GAIN2: case MEDIUMGAIN:
ssettings="/gain2"; ssettings="/mediumgain";
thisDetector->currentSettings=GAIN2; thisDetector->currentSettings=GAIN2;
break; break;
case GAIN3: case VERYHIGHGAIN:
ssettings="/gain3"; ssettings="/veryhighgain";
thisDetector->currentSettings=GAIN3; thisDetector->currentSettings=GAIN3;
break; break;
default: default: