00001 #ifndef tcsDefines_H
00002 #define tcsDefines_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #define VLT_TCS 1
00037 #define NTT_TCS 2
00038 #define ASM_TCS 3
00039 #define ATS_TCS 4
00040 #define SID_TCS 5
00041 #define TP6_TCS 6
00042 #define VST_TCS 7
00043
00044 #ifndef TARGET_TCS
00045 #warning TARGET_TCS not defined. Using default value VLT_TCS
00046 #define TARGET_TCS VLT_TCS
00047 #endif
00048
00049
00050
00051
00052
00053
00054 #define VLT_CM 0
00055 #define VLT_UT1 1
00056 #define VLT_UT2 2
00057 #define VLT_UT3 3
00058 #define VLT_UT4 4
00059
00060 #define ASM_PL 1
00061 #define ASM_LS 2
00062
00063 #define VLTI_AT_CM 0
00064 #define VLTI_AT1 1
00065 #define VLTI_AT2 2
00066 #define VLTI_AT3 3
00067
00068 #define VLTI_SID_CM 0
00069 #define VLTI_SID1 1
00070 #define VLTI_SID2 2
00071
00072 #define VLT_ST_CM 0
00073 #define VLT_ST1 1
00074
00075 #ifndef TCSID
00076 #define TCSID VLT_CM
00077 #endif
00078
00079
00080
00081
00082 #define DELETE_OBJECT(object) do \
00083 { \
00084 if (object != NULL) \
00085 { \
00086 delete object; \
00087 object = NULL; \
00088 } \
00089 } while (0)
00090
00091
00092
00093
00094
00095
00096 #define tcsPRINTF_BUFFER_SIZE 1024
00097
00098
00099
00100
00101
00102
00103 #define tcsREPLACE_IT(date,time,targ) "@(#) $TCS Compile Id - Date: " date " Time: " time " Target: " #targ " $"
00104 #define tcsTARGET_IT(date,time,targ) tcsREPLACE_IT(date,time,targ)
00105
00106
00107
00108
00109
00110
00111
00112 #define tcsTCS_RCSID(id) \
00113 static const char *rcsId = id tcsTARGET_IT(__DATE__, __TIME__, TARGET_TCS); \
00114 static const void *use_rcsId = ((const void)&use_rcsId,(const void *) &rcsId);
00115
00116
00117
00118
00119 #define tcsMOD "tcs"
00120
00121
00122
00123
00124
00125 #define tcsDBPOINT "TCS_DBPOINT"
00126 #define tcsDBPOINT_DEF ":Appl_data:TCS"
00127
00128
00129 #define tcsENVNAME "TCS_ENVNAME"
00130
00131
00132
00133 #define tcsMSG_BUFF_ALL "ALL"
00134
00135
00136 #define tcsOK_MSG "OK"
00137
00138
00139 #define tcsSETUP_FILE_DICTIONARY "ALL"
00140 #define tcsSETUP_FILE_ALIAS "ALL"
00141
00142
00143
00144
00145
00146
00147 #define tcsTRK_PC_BACKUP_FILE "trkPcData.dat"
00148 #define tcsTRK_DUT_BACKUP_FILE "trkDut.dat"
00149 #define tcsTRK_SETROT_BACKUP_FILE "trkSetrot.dat"
00150
00151 #define tcsCMD_LOGFITS "LOGFITS"
00152
00153 #define tcsDB_TRANSFER_DEST_ENV "destEnv"
00154 #define tcsDB_TRANSFER_LCU_SERVER "lcuServer"
00155 #define tcsDB_TRANSFER_TIMEOUT "timeout"
00156 #define tcsDB_TRANSFER_CMDS "commands"
00157
00158 #endif