SDC C-Project CF Review 프로그램
LYW
2022-07-05 63439977901d54a01924ed76290931aeddbce66c
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#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;
 
    m_nZeroReviewAlarm         = 0;
    m_strZeroReviewAlarmExcept = _T("");
}
 
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;
 
    m_nZeroReviewAlarm = rhs.m_nZeroReviewAlarm;
    m_strZeroReviewAlarmExcept = rhs.m_strZeroReviewAlarmExcept;
}
 
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;
 
    rhs.m_nZeroReviewAlarm = m_nZeroReviewAlarm;
    rhs.m_strZeroReviewAlarmExcept = m_strZeroReviewAlarmExcept;
}