00001 #ifndef __EMCDATAERROR_H__ 00002 #define __EMCDATAERROR_H__ 00003 00016 class emcDataError 00017 { 00018 00019 public: 00020 00022 static int OK(void) 00023 { 00024 return 0; 00025 } 00026 00028 static int HG_PRE_OUT(void) 00029 { 00030 return 0x4; 00031 } 00032 00034 static int HG_POST_OUT(void) 00035 { 00036 return 0x8; 00037 } 00038 00040 static int LG_PRE_OUT(void) 00041 { 00042 return 0x40; 00043 } 00044 00046 static int LG_POST_OUT(void) 00047 { 00048 return 0x80; 00049 } 00050 00052 static int TAC_OUT(void) 00053 { 00054 return 0x400; 00055 } 00056 00058 static int CHANNEL_DISABLED(void) 00059 { 00060 return 0x2000; 00061 } 00062 00064 static int HG_MIN(void) 00065 { 00066 return 1024; 00067 } 00068 00070 static int LG_MIN(void) 00071 { 00072 return 0; 00073 } 00074 00076 static int HG_MAX(void) 00077 { 00078 return 4095; 00079 } 00080 00082 static int LG_MAX(void) 00083 { 00084 return 4095; 00085 } 00086 00088 static int TAC_MIN(void) 00089 { 00090 return 50; 00091 } 00092 00094 static int TAC_MAX(void) 00095 { 00096 return 4000; 00097 } 00098 00099 }; 00100 00101 #endif