#include "StdAfx.h" #include "CHReviewRecipe/RcpLightInfo.h" CRcpLightInfo::CRcpLightInfo(void) { Reset(); } CRcpLightInfo::~CRcpLightInfo(void) { Reset(); } void CRcpLightInfo::Reset() { m_nLightLevel = 0; m_nMinThresLevel = 0; m_nMaxThresLevel = 255; m_nAutoLightStep = 5; } void CRcpLightInfo::SetInfo(const CRcpLightInfo& rhs) { *this = rhs; // m_nLightLevel = rhs.m_nLightLevel; } void CRcpLightInfo::GetInfo(CRcpLightInfo& rhs) { rhs = *this; // rhs.m_nLightLevel = m_nLightLevel; }