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
#include "StdAfx.h"
#include "CHReviewRecipe/RcpPlanInfo.h"
 
CRcpPlanInfo::CRcpPlanInfo(void)
{
    Reset();
}
 
CRcpPlanInfo::~CRcpPlanInfo(void)
{
    Reset();
}
 
void CRcpPlanInfo::Reset()
{
    m_nReviewType = 0;
    ZeroMemory(m_bSelectSlot, sizeof(BOOL) * TOTAL_GLASS_SLOT_COUNT);
}
 
void CRcpPlanInfo::SetInfo(const CRcpPlanInfo& rhs)
{
    m_nReviewType = rhs.m_nReviewType;
    memcpy(m_bSelectSlot, rhs.m_bSelectSlot, sizeof(BOOL) * TOTAL_GLASS_SLOT_COUNT);
}
 
void CRcpPlanInfo::GetInfo(CRcpPlanInfo& rhs)
{
    rhs.m_nReviewType = m_nReviewType;
    memcpy(rhs.m_bSelectSlot, m_bSelectSlot, sizeof(BOOL) * TOTAL_GLASS_SLOT_COUNT);
}