LWQ
2025-08-07 c049c2fdf2f5722e460d0dc5c7597bf819f2e2e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#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;