/************************************************************************* $Archive: /PACS/OnBoard/DetSim.h $ $Revision: 1.11 $ $Date: 2009/04/23 13:51:12 $ $Author: amazy $ $Log: DetSim.h,v $ Revision 1.11 2009/04/23 13:51:12 amazy 6.029 * * 9 3/14/06 4:31p Pacs Egse * Version 6.001 * Cleaned and commented *************************************************************************/ #define DETSIM_H #ifndef CSL_TYPE_H #include "csl_type.h" #endif /* STRUCT : DetectorSimParams *************************** AUTHOR : Amazy USE : This structure is used to monitor the DetectorSim Task. */ typedef struct { int TaskStatus; int Period; } DetectorSimParams; #define K_BMASK_TASK_STATUS_DET_SIM_BLUE_DEC_SIM_ACTIVE 0x00100000 #define K_BMASK_TASK_STATUS_DET_SIM_RED_DEC_SIM_ACTIVE 0x00200000 #define K_BMASK_TASK_STATUS_DET_SIM_BOL_SIM_ACTIVE 0x00400000 #define K_BMASK_TASK_STATUS_DET_SIM_SIMULATED_DETECTOR 0x00700000 #define K_BMASK_TASK_STATUS_DET_SIM_SIMULATING_TIMING 0x01000000