Go to the documentation of this file.00001
00002
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 #if !defined(_FEDM_ISC_MYAXXESS_TABLES_)
00034 #define _FEDM_ISC_MYAXXESS_TABLES_
00035
00036
00037 #include <string>
00038
00039
00040
00041 using namespace std;
00042
00043
00044
00045
00046
00047
00048
00049 typedef struct _FEDM_ISC_MYAXXESS_CRCLIST
00050 {
00051 unsigned short int uiCrcMetadata;
00052 unsigned short int uiCrcTimezone;
00053 unsigned short int uiCrcHoliday;
00054 unsigned short int uiCrcAccess;
00055
00056
00057 void Init()
00058 {
00059 memset(&uiCrcMetadata, 0, sizeof(_FEDM_ISC_MYAXXESS_CRCLIST));
00060 }
00061
00062
00063 } FEDM_ISC_MYAXXESS_CRCLIST;
00064
00065
00066
00067
00068
00069
00070 typedef struct _FEDM_ISC_MYAXXESS_METADATA
00071 {
00072 unsigned short int uiTableVersion;
00073 unsigned char ucTimezoneEntries;
00074 unsigned char ucHolidayEntries;
00075 unsigned short int uiAccessEntries;
00076 unsigned char ucIDDLength;
00077 unsigned char ucIDDFormat;
00078 unsigned char ucReserved[8];
00079
00080
00081 void Init()
00082 {
00083 memset(&uiTableVersion, 0, sizeof(_FEDM_ISC_MYAXXESS_METADATA));
00084 }
00085
00086
00087 } FEDM_ISC_MYAXXESS_METADATA;
00088
00089
00090
00091
00092
00093
00094 typedef struct _FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM
00095 {
00096 unsigned char ucStartDate_Day;
00097 unsigned char ucStartDate_Month;
00098 unsigned char ucStartDate_Year;
00099 unsigned char ucEndDate_Day;
00100 unsigned char ucEndDate_Month;
00101 unsigned char ucEndDate_Year;
00102 unsigned char ucDays;
00103 unsigned char ucStartTime_Hour;
00104 unsigned char ucStartTime_Minute;
00105 unsigned char ucEndTime_Hour;
00106 unsigned char ucEndTime_Minute;
00107
00108
00109 void Init()
00110 {
00111 memset(&ucStartDate_Day, 0xFF, sizeof(_FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM));
00112 ucDays = 0x00;
00113 }
00114
00115
00116 } FEDM_ISC_MYAXXESS_TIMEZONE_TABLE_ITEM;
00117
00118
00119
00120
00121
00122
00123 typedef struct _FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM
00124 {
00125 unsigned char ucHoliday_Day;
00126 unsigned char ucHoliday_Month;
00127 unsigned char ucHoliday_Year;
00128
00129
00130 void Init()
00131 {
00132 memset(&ucHoliday_Day, 0, sizeof(_FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM));
00133 }
00134
00135
00136 } FEDM_ISC_MYAXXESS_HOLIDAY_TABLE_ITEM;
00137
00138
00139
00140
00141
00142
00143 typedef struct _FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM
00144 {
00145 unsigned char ucIDD[128];
00146 unsigned short int uiTimezones;
00147 unsigned char ucReserved;
00148
00149
00150 void Init()
00151 {
00152 memset(&ucIDD[0], 0, sizeof(_FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM));
00153 }
00154
00155
00156 } FEDM_ISC_MYAXXESS_ACCESS_TABLE_ITEM;
00157
00158
00159
00160
00161
00162
00163 typedef struct _FEDM_ISC_MYAXXESS_EVENT_TABLE_ITEM
00164 {
00165 unsigned char ucDataLayout;
00166
00167
00168
00169
00170
00171
00172 unsigned char ucEventID;
00173 unsigned char ucIDDLength;
00174 unsigned char ucIDD[128];
00175 unsigned char ucDay;
00176 unsigned char ucMonth;
00177 unsigned char ucYear;
00178 unsigned char ucHour;
00179 unsigned char ucMinute;
00180 unsigned char ucSecond;
00181 unsigned char ucAction;
00182 unsigned short int uiError;
00183 unsigned char ucInput;
00184 unsigned char ucAnt;
00185 string sSourceIP;
00186
00187
00188 void Init()
00189 {
00190 ucDataLayout= 0;
00191 ucEventID = 0;
00192 ucIDDLength = 0;
00193 memset(ucIDD, 0, 128);
00194 ucDay = 0;
00195 ucYear = 0;
00196 ucMonth = 0;
00197 ucHour = 0;
00198 ucMinute = 0;
00199 ucSecond = 0;
00200 ucAction = 0;
00201 uiError = 0;
00202 ucInput = 0;
00203 ucAnt = 0;
00204 sSourceIP.clear();
00205 }
00206
00207
00208 } FEDM_ISC_MYAXXESS_EVENT_TABLE_ITEM;
00209
00210
00211 #endif // !defined(_FEDM_ISC_MYAXXESS_TABLES_)