SDC C-Project CF Review 프로그램
SWK
2023-03-10 5ce2e7ca14f09da2138ea783ef16044a01423413
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#include "StdAfx.h"
#include "DefectResult.h"
 
 
CCellResult::CCellResult()            
    Reset(); 
}
 
CCellResult::~CCellResult()    
    Reset(); 
}
 
void CCellResult::Reset()
{
    nCellIdx        = -1;
    nUMOriginX        = 0;
    nUMOriginY        = 0;
    nUMOriginWidth    = 0;
    nUMOriginHeight    = 0;
    nDefectCount    = 0;
    strCellID        = _T("");
    strCellJudge    = _T("");
}
 
CDefectResult::CDefectResult()
    Reset(); 
}
 
CDefectResult::~CDefectResult()
    Reset(); 
}
 
void CDefectResult::Reset()
{
    bReviewAdded            = FALSE;
    bWsiAdded                = FALSE;
 
    bMeasurePoint            = FALSE;
    bInRange                = FALSE;
    bRework                    = FALSE;
    bReworkSelected            = FALSE;
 
    nCDDefectIdx            = -1;
    nSDDefectIdx            = -1;
 
    nAOIArea                = 0;
    nAOISizeLength            = 0;
    nAOISizeS                = 0;
    nAOISizeW                = 0;
    nAOISizeH                = 0;
    nAOISize                = 0;            
    nAOIPeak                = 0;
    nGrayType                = 0;
    nOpticType                = 0;
    nLocation                = 0;
 
    nAOIScanIdx                = 0;
    nAOICameraIdx            = 0;
 
    nDark_Thres                = 0;
    nBright_Thres            = 0;
    nSizeJudge                = 0;
 
    strDefectInfo            = _T("");
    
    strDefectZone            = _T("");
    strGrayType                = _T("");
 
    strMarkType                = _T("");
    nMarkType                = 0;
 
    strDefectType1            = _T("");
    nDefectType1            = 0;
 
    strDefectType2            = _T("");
    nDefectType2            = 0;
 
    // defect raw
    nTotalDefectCount    = 0;
    nDefectIdx            = -1;
    strCellID            = _T("");
    nUMTransX            = 0;
    nUMTransY            = 0;
    nUMOriginX            = 0;
    nUMOriginY            = 0;
    nUMCenterOriginX    = 0;
    nUMCenterOriginY    = 0;
    nZonePercent        = 0;
    nBF_Width            = 0;
    nBF_Length            = 0;
    nBF_Min                = 0;
    nBF_Avg                = 0;
    nBF_AvgDiff            = 0;
    nDF_Width            = 0;
    nDF_Length            = 0;
 
    strDefectType        = _T("");
    nDefectType            = 0;
    nBefore_SizeWidth    = 0;
    nAfter_SizeWidth    = 0;
    nAfter_SizeHeight    = 0;
    nAfter_NPixel        = 0;
    dAfter_Area            = 0;
    strOpticType        = _T("");
 
    strStackType        = _T("");
    nStackType            = 0;
    nStackStepCount        = 0;
    strStackStep        = _T("");
    strJudgeType        = _T("");
    nJudgeType            = 0;
    strSizeType            = _T("");
    nSizeType            = 0;
    strProcessType        = _T("");            
    nProcessType        = 0;
    
    strDefectPos        = _T("");
    nDefectPos            = 0;
 
    strSubType            = _T("");
    nSubType            = 0;
 
    nSortSection        = 0;
 
    strDefectCode        = _T("");
    strDefectName        = _T("");
 
    strUploadImgFileName = _T("");
    strUploadImgFileName2 = _T("");
 
    strOrignalImgFileName = _T("");
}