#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);
|
}
|