some smaller modification to slsDetectorServer

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@175 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
bergamaschi 2012-04-30 13:19:31 +00:00
parent b32265caf9
commit 7824719d98
2 changed files with 12 additions and 1 deletions

View File

@ -22,6 +22,7 @@ Here are the definitions, but the actual implementation should be done for each
****************************************************/
//if b>0 all the detector must be initialized, otherwise it is just the stop server
int initializeDetector(int b);

View File

@ -9,7 +9,17 @@ int (*flist[256])(int);
//defined in the detector specific file
extern const enum detectorType myDetectorType;
#ifdef MYTHEND
const enum detectorType myDetectorType=MYTHEN;
#elif GOTTHARDD
const enum detectorType myDetectorType=GOTTHARD;
#elif EIGERD
const enum detectorType myDetectorType=EIGER;
#elif PICASSOD
const enum detectorType myDetectorType=PICASSO;
#else
const enum detectorType myDetectorType=GENERIC;
#endif
//define in communication_funcs