#pragma once #include "Global_Define.h" typedef struct _HISTORY_RESULT_SAVE_HEADER { BOOL bResult; int nInsStageNo; int nDefectCnt; int nCrackCount; int nBrokenCount; int nChipCount; int nChamferCount; int nBurrCount; int nUnknownCount; } HISTORY_RESULT_SAVE_HEADER, *pHISTORY_RESULT_SAVE_HEADER; typedef struct _HISTORY_RESULT_SAVE_ { char szEndTime[100]; char szGlassID[100]; char szHostID[100]; HISTORY_RESULT_SAVE_HEADER Header; _HISTORY_RESULT_SAVE_() { ZeroMemory(this, sizeof(_HISTORY_RESULT_SAVE_)); } } HISTORY_RESULT_SAVE, *pHISTORY_RESULT_SAVE; typedef struct _HISTORY_RESULT : public HISTORY_RESULT_SAVE_HEADER { CString strGlassID; CString strHostID; CString strEndTime; _HISTORY_RESULT() { Reset(); } void Reset() { strGlassID.Empty(); strHostID.Empty(); strEndTime.Empty(); nInsStageNo = -1; nDefectCnt = 0; bResult = TRUE; } } HISTORY_RESULT, *pHISTORY_RESULT;