#include "StdAfx.h"
|
#include "CHReviewSetting/NetworkInfo.h"
|
|
CNetworkInfo::CNetworkInfo(void)
|
{
|
Reset();
|
}
|
|
CNetworkInfo::~CNetworkInfo(void)
|
{
|
Reset();
|
}
|
|
void CNetworkInfo::Reset()
|
{
|
m_strModuleID = _T("");
|
m_strServerIP = _T("");
|
m_strAOIRawPath = _T("");
|
m_strLocalRawPath = _T("");
|
m_strLocalImagePath = _T("");
|
m_strAlignImagePath = _T("");
|
m_strUploadRawPath = _T("");
|
m_strUploadImagePath = _T("");
|
m_strUploadDefectMapImagePath =_T("");
|
m_strWsiImagePath =_T("");
|
|
m_nUpdateImageWidth = 1224;
|
m_nUpdateImageHeight = 1024;
|
m_nUpdateImageSize = 150000;
|
m_nUpdateImageQuality = 50;
|
m_nUpdateImageStep = 5;
|
m_dUpdateImageScale = 1.0;
|
|
m_bUpdateImageOriginal = FALSE;
|
m_nImageRotate = 0;
|
m_nImageFlip = 0;
|
}
|
|
void CNetworkInfo::SetInfo(const CNetworkInfo& rhs)
|
{
|
m_strModuleID = rhs.m_strModuleID;
|
m_strServerIP = rhs.m_strServerIP;
|
m_strAOIRawPath = rhs.m_strAOIRawPath;
|
m_strLocalRawPath = rhs.m_strLocalRawPath;
|
m_strLocalImagePath = rhs.m_strLocalImagePath;
|
m_strAlignImagePath = rhs.m_strAlignImagePath;
|
m_strUploadRawPath = rhs.m_strUploadRawPath;
|
m_strUploadImagePath = rhs.m_strUploadImagePath;
|
m_strUploadDefectMapImagePath = rhs.m_strUploadDefectMapImagePath;
|
m_strWsiImagePath = rhs.m_strWsiImagePath;
|
|
m_nUpdateImageWidth = rhs.m_nUpdateImageWidth;
|
m_nUpdateImageHeight = rhs.m_nUpdateImageHeight;
|
m_nUpdateImageSize = rhs.m_nUpdateImageSize;
|
m_nUpdateImageQuality = rhs.m_nUpdateImageQuality;
|
m_nUpdateImageStep = rhs.m_nUpdateImageStep;
|
m_dUpdateImageScale = rhs.m_dUpdateImageScale;
|
|
m_bUpdateImageOriginal = rhs.m_bUpdateImageOriginal;
|
m_nImageRotate = rhs.m_nImageRotate;
|
m_nImageFlip = rhs.m_nImageFlip;
|
}
|
|
void CNetworkInfo::GetInfo(CNetworkInfo& rhs)
|
{
|
rhs.m_strModuleID = m_strModuleID;
|
rhs.m_strServerIP = m_strServerIP;
|
rhs.m_strAOIRawPath = m_strAOIRawPath;
|
rhs.m_strLocalRawPath = m_strLocalRawPath;
|
rhs.m_strLocalImagePath = m_strLocalImagePath;
|
rhs.m_strAlignImagePath = m_strAlignImagePath;
|
rhs.m_strUploadRawPath = m_strUploadRawPath;
|
rhs.m_strUploadImagePath = m_strUploadImagePath;
|
rhs.m_strUploadDefectMapImagePath = m_strUploadDefectMapImagePath;
|
rhs.m_strWsiImagePath = m_strWsiImagePath;
|
|
rhs.m_nUpdateImageWidth = m_nUpdateImageWidth;
|
rhs.m_nUpdateImageHeight = m_nUpdateImageHeight;
|
rhs.m_nUpdateImageSize = m_nUpdateImageSize;
|
rhs.m_nUpdateImageQuality = m_nUpdateImageQuality;
|
rhs.m_nUpdateImageStep = m_nUpdateImageStep;
|
rhs.m_dUpdateImageScale = m_dUpdateImageScale;
|
|
rhs.m_bUpdateImageOriginal = m_bUpdateImageOriginal;
|
rhs.m_nImageRotate = m_nImageRotate;
|
rhs.m_nImageFlip = m_nImageFlip;
|
}
|