SDC C-Project CF Review 프로그램
LYW
2021-08-09 5c62f2269ac6179a22b475093f35be2fb0999bb2
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
#pragma once
 
#include <vector>
 
enum ReviewPlanType            { REVIEW_PLAN_DEFECT = 0, REVIEW_PLAN_USER, REVIEW_PLAN_WSI, REVIEW_PLAN_MEASURE, REVIEW_PLAN_REFLOW, REVIEW_PLAN_WSI_REFLOW ,REVIEW_PLAN_WSI_USER, REVIEW_PLAN_WSI_MultiShot,REVIEW_PLAN_TYPE_COUNT };
 
class AFX_EXT_CLASS CRcpPlanInfo
{
public:
    CRcpPlanInfo(void);
    virtual ~CRcpPlanInfo(void);
    void operator=(const CRcpPlanInfo& rhs);
 
public:
    void Reset();
    void SetInfo(const CRcpPlanInfo& rhs);
    void GetInfo(CRcpPlanInfo& rhs);
 
    int        GetReviewType() const            { return m_nReviewType; }
    BOOL    GetSelectSlot(int nIndex) const    { return (nIndex>=TOTAL_GLASS_SLOT_COUNT) ? FALSE: m_bSelectSlot[nIndex]; }
 
public:
    int                m_nReviewType;
    BOOL            m_bSelectSlot[TOTAL_GLASS_SLOT_COUNT];
 
protected:
 
};
typedef std::vector<CRcpPlanInfo>                VectorRcpPlanInfo;
typedef std::vector<CRcpPlanInfo>::iterator        VectorRcpPlanInfoIt;
 
inline void CRcpPlanInfo::operator=(const CRcpPlanInfo& rhs)
{
    if (this != &rhs)
    {
        m_nReviewType = rhs.m_nReviewType;
        memcpy(m_bSelectSlot, rhs.m_bSelectSlot, sizeof(BOOL) * TOTAL_GLASS_SLOT_COUNT);
    }
}