#include "StdAfx.h"
|
#include "CHReviewRecipe/RcpUserDefectInfo.h"
|
|
CRcpUserDefectInfo::CRcpUserDefectInfo(void)
|
{
|
Reset();
|
}
|
|
CRcpUserDefectInfo::~CRcpUserDefectInfo(void)
|
{
|
Reset();
|
}
|
|
void CRcpUserDefectInfo::Reset()
|
{
|
m_dPosX = 0.0;
|
m_dPosY = 0.0;
|
m_nCellSide = 0;
|
m_nInspectionMode = 0;
|
m_nSharedDefectIndex = 0;
|
m_strCellId = _T("");
|
m_strCellId2 = _T("");
|
m_nReflowCellIndex = 0;
|
}
|
|
void CRcpUserDefectInfo::SetInfo(const CRcpUserDefectInfo& rhs)
|
{
|
*this = rhs;
|
|
// m_dPosX = rhs.m_dPosX;
|
// m_dPosY = rhs.m_dPosY;
|
}
|
|
void CRcpUserDefectInfo::GetInfo(CRcpUserDefectInfo& rhs)
|
{
|
rhs = *this;
|
|
// rhs.m_dPosX =m_dPosX;
|
// rhs.m_dPosY = m_dPosY;
|
}
|
|
|
CRcpReflowParameter::CRcpReflowParameter(void)
|
{
|
Reset();
|
}
|
|
CRcpReflowParameter::~CRcpReflowParameter(void)
|
{
|
Reset();
|
}
|
|
void CRcpReflowParameter::Reset()
|
{
|
m_nCellSide = 0;
|
m_nInspectionMode = 0;
|
|
m_nAPixel = 0;
|
m_nBPixel = 0;
|
m_nCPixel = 0;
|
m_nDPixel = 0;
|
// m_nDam1 = 0;
|
//
|
// m_nBaseTh = 0;
|
m_nDam2Th = 0;
|
m_nDam1Th = 0;
|
m_nDam4Th = 0;
|
m_nDam3Th = 0;
|
m_nPixelScale = 10;
|
|
m_strMasterFileName = _T("");
|
}
|
|
void CRcpReflowParameter::SetInfo(const CRcpReflowParameter& rhs)
|
{
|
*this = rhs;
|
|
// m_dPosX = rhs.m_dPosX;
|
// m_dPosY = rhs.m_dPosY;
|
}
|
|
void CRcpReflowParameter::GetInfo(CRcpReflowParameter& rhs)
|
{
|
rhs = *this;
|
|
// rhs.m_dPosX =m_dPosX;
|
// rhs.m_dPosY = m_dPosY;
|
}
|