From e8ba1e78e72f3f7ec2841f55fd90253b4dc414df Mon Sep 17 00:00:00 2001
From: LYW <leeyeanwoo@diteam.co.kr>
Date: 목, 14 10월 2021 14:15:04 +0900
Subject: [PATCH] Ongoing60 #3671 CF AOI Review 전설비 Align Matching 방법 개선

---
 ReviewSystem/ReviewSystemSetting/DlgAlign.cpp |  195 ++++++++++++++++++++++++++++--------------------
 1 files changed, 112 insertions(+), 83 deletions(-)

diff --git a/ReviewSystem/ReviewSystemSetting/DlgAlign.cpp b/ReviewSystem/ReviewSystemSetting/DlgAlign.cpp
index 3ee74d0..921d7c8 100644
--- a/ReviewSystem/ReviewSystemSetting/DlgAlign.cpp
+++ b/ReviewSystem/ReviewSystemSetting/DlgAlign.cpp
@@ -1,4 +1,4 @@
-// DlgAlign.cpp : 구현 파일입니다.
+// DlgAlign.cpp : 占쏙옙占쏙옙 占쏙옙占쏙옙占쌉니댐옙.
 //
 
 #include "stdafx.h"
@@ -8,7 +8,7 @@
 #include "CHReviewSetting/Sys_AlignManager.h"
 #include "CHReviewSetting/SystemInfo.h"
 
-// CDlgAlign 대화 상자입니다.
+// CDlgAlign 占쏙옙화 占쏙옙占쏙옙占쌉니댐옙.
 
 IMPLEMENT_DYNAMIC(CDlgAlign, CDialog)
 
@@ -36,23 +36,23 @@
 END_MESSAGE_MAP()
 
 
-// CDlgAlign 메시지 처리기입니다.
+// CDlgAlign 占쌨쏙옙占쏙옙 처占쏙옙占쏙옙占쌉니댐옙.
 
 BOOL CDlgAlign::OnInitDialog()
 {
 	CDialog::OnInitDialog();
 
-	// TODO:  여기에 추가 초기화 작업을 추가합니다.
+	// TODO:  占쏙옙占썩에 占쌩곤옙 占십깍옙화 占쌜억옙占쏙옙 占쌩곤옙占쌌니댐옙.
 	InitAlignCameraInfoGridControl();
 	FillAlignCameraInfo();
 
 	return TRUE;  // return TRUE unless you set the focus to a control
-	// 예외: OCX 속성 페이지는 FALSE를 반환해야 합니다.
+	// 占쏙옙占쏙옙: OCX 占쌈쇽옙 占쏙옙占쏙옙占쏙옙占쏙옙 FALSE占쏙옙 占쏙옙환占쌔억옙 占쌌니댐옙.
 }
 
 BOOL CDlgAlign::PreTranslateMessage(MSG* pMsg)
 {
-	// TODO: 여기에 특수화된 코드를 추가 및/또는 기본 클래스를 호출합니다.
+	// TODO: 占쏙옙占썩에 특占쏙옙화占쏙옙 占쌘드를 占쌩곤옙 占쏙옙/占실댐옙 占썩본 클占쏙옙占쏙옙占쏙옙 호占쏙옙占쌌니댐옙.
 	if( pMsg->message == WM_KEYDOWN )
 	{
 		if(pMsg->wParam == VK_RETURN || pMsg->wParam == VK_ESCAPE )
@@ -68,13 +68,13 @@
 
 void CDlgAlign::OnBnClickedButtonSysAlignReset()
 {
-	// TODO: 여기에 컨트롤 알림 처리기 코드를 추가합니다.
+	// TODO: 占쏙옙占썩에 占쏙옙트占쏙옙 占싯몌옙 처占쏙옙占쏙옙 占쌘드를 占쌩곤옙占쌌니댐옙.
 	ResetAlignCameraInfoGrid();
 }
 
 void CDlgAlign::OnBnClickedButtonSysAlignApply()
 {
-	// TODO: 여기에 컨트롤 알림 처리기 코드를 추가합니다.
+	// TODO: 占쏙옙占썩에 占쏙옙트占쏙옙 占싯몌옙 처占쏙옙占쏙옙 占쌘드를 占쌩곤옙占쌌니댐옙.
 	UpdateData(TRUE);
 	
 	int i, j, nArrayCount = 0;
@@ -110,11 +110,11 @@
 		if(pCameraControlInfo == NULL)	continue;
 
 		//////////////////////////////////////////////////////////////////////////
-		// 카메라 인덱스
+		// 카占쌨띰옙 占싸듸옙占쏙옙
 		CString strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);		
 		pCameraControlInfo->SetIndex(_ttoi(strItemText));
 
-		// 기준 카메라
+		// 占쏙옙占쏙옙 카占쌨띰옙
 		nRowIdx++;
 		CGridCellCheck *pCellCheck = (CGridCellCheck*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 		if(pCellCheck)
@@ -122,7 +122,7 @@
 			pCameraControlInfo->SetStandardCamera(pCellCheck->GetCheck());
 		}
 
-		// 카메라 라이브러리 타입
+		// 카占쌨띰옙 占쏙옙占싱브러占쏙옙 타占쏙옙
 		nRowIdx++;
 		CGridCellCombo* pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 		if(pCellCombo)
@@ -144,7 +144,7 @@
 			}
 		}
 
-		// 카메라 플립 타입
+		// 카占쌨띰옙 占시몌옙 타占쏙옙
 		nRowIdx++;
 		pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 		if(pCellCombo)
@@ -164,47 +164,47 @@
 			}
 		}
 
-		// 카메라 이름
+		// 카占쌨띰옙 占싱몌옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);		
 		pCameraControlInfo->SetName(strItemText);
 
-		// 카메라 연결 정보
+		// 카占쌨띰옙 占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);
 		pCameraControlInfo->SetConnectionPort(strItemText);
 
-		// 카메라 프레임 개수
+		// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);		
 		pCameraControlInfo->SetFrameCount(_ttoi(strItemText));
 
-		// 카메라 프레임 넓이
+		// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);		
 		pCameraControlInfo->SetFrameWidth(_ttoi(strItemText));
 
-		// 카메라 프레임 높이
+		// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);		
 		pCameraControlInfo->SetFrameHeight(_ttoi(strItemText));
 
-		// 이미지 버퍼 개수
+		// 占싱뱄옙占쏙옙 占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);		
 		pCameraControlInfo->SetImageBufferCount(_ttoi(strItemText));
 
-		// 카메라 해상도 (CCD)
+		// 카占쌨띰옙 占쌔삼옙 (CCD)
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);
 		pCameraControlInfo->SetPixelResolution(_tcstod(strItemText, NULL));
 
-		// 카메라 컬러 채널 (Depth : Gray 1)
+		// 카占쌨띰옙 占시뤄옙 채占쏙옙 (Depth : Gray 1)
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);
 		pCameraControlInfo->SetFrameChannels(_ttoi(strItemText));
 		
-		// 카메라 X축 방향
+		// 카占쌨띰옙 X占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 
@@ -226,7 +226,7 @@
 			}
 		}
 
-		// 카메라 Y축 방향
+		// 카占쌨띰옙 Y占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 
@@ -253,7 +253,7 @@
 		CLightControlInfo* pLightControlInfo = pAlignCameraInfo->GetLightContorlInfo();
 		if(pLightControlInfo == NULL)	continue;
 
-		// 조명 타입
+		// 占쏙옙占쏙옙 타占쏙옙
 		nRowIdx++;
 		pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 		if(pCellCombo)
@@ -273,25 +273,43 @@
 			}
 		}
 
-		// 조명 포트
+		// 占쏙옙占쏙옙 占쏙옙트
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);
 		pLightControlInfo->SetConnectionPort(strItemText);
 
-		// 마스터(Open/Close) 권한
+		// 占쏙옙占쏙옙占쏙옙(Open/Close) 占쏙옙占쏙옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);
 		pLightControlInfo->SetMaster(_ttoi(strItemText));
 		
-		// 조명 채널
+		// 占쏙옙占쏙옙 채占쏙옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);
 		pLightControlInfo->SetChannel(_ttoi(strItemText));
 
-		// 조명 기본값
+		// 占쏙옙占쏙옙 占썩본占쏙옙
 		nRowIdx++;
 		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);
 		pLightControlInfo->SetDefaultValue(_ttoi(strItemText));
+
+		// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙
+		nRowIdx++;
+		strItemText = m_ctrlGridAlignCameraInfo.GetItemText(nRowIdx, nColIdx);
+		BOOL nMode = FALSE;
+		if (_ttoi(strItemText) >= 2)
+		{
+			nMode = TRUE;
+		}
+		else if(_ttoi(strItemText)<-1)
+		{
+			nMode = FALSE;
+		}
+		else
+		{
+			nMode = _ttoi(strItemText);
+		}
+		pCameraControlInfo->SetCameraReverseX(nMode);
 
 		nColIdx++;
 	}
@@ -326,116 +344,122 @@
 	Item.mask = GVIF_TEXT;
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Camera Index"));				//_T("카메라 인덱스"));
+	strTemp.Format(_T("Camera Index"));				//_T("카占쌨띰옙 占싸듸옙占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Standard Camera"));			//_T("기준 카메라"));
+	strTemp.Format(_T("Standard Camera"));			//_T("占쏙옙占쏙옙 카占쌨띰옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Library Type"));				//_T("카메라 라이브러리"));
+	strTemp.Format(_T("Library Type"));				//_T("카占쌨띰옙 占쏙옙占싱브러占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Flip Type"));				//_T("카메라 플립 타입"));
+	strTemp.Format(_T("Flip Type"));				//_T("카占쌨띰옙 占시몌옙 타占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Camera Name"));				//_T("카메라 이름"));
+	strTemp.Format(_T("Camera Name"));				//_T("카占쌨띰옙 占싱몌옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Connection Information"));	//_T("카메라 연결 정보"));  (시리얼 넘버)
+	strTemp.Format(_T("Connection Information"));	//_T("카占쌨띰옙 占쏙옙占쏙옙 占쏙옙占쏙옙"));  (占시몌옙占쏙옙 占싼뱄옙)
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Frame Count (f/s)"));		//_T("카메라 프레임 개수"));
+	strTemp.Format(_T("Frame Count (f/s)"));		//_T("카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Frame Width (pxl)"));		//_T("카메라 프레임 넓이"));
+	strTemp.Format(_T("Frame Width (pxl)"));		//_T("카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Frame Height (pxl)"));		//_T("카메라 프레임 높이"));
+	strTemp.Format(_T("Frame Height (pxl)"));		//_T("카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Image Buffer Cnt (ea)"));	//_T("이미지 버퍼 개수"));
+	strTemp.Format(_T("Image Buffer Cnt (ea)"));	//_T("占싱뱄옙占쏙옙 占쏙옙占쏙옙 占쏙옙占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Resolution (um/pxl)"));		//_T("카메라 해상도"));
+	strTemp.Format(_T("Resolution (um/pxl)"));		//_T("카占쌨띰옙 占쌔삼옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Frame Channel (Color)"));	//_T("카메라 컬러 채널"));
+	strTemp.Format(_T("Frame Channel (Color)"));	//_T("카占쌨띰옙 占시뤄옙 채占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("X Axis Direction"));			//_T("카메라 X축 방향"));
+	strTemp.Format(_T("X Axis Direction"));			//_T("카占쌨띰옙 X占쏙옙 占쏙옙占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Y Axis Direction"));			//_T("카메라 Y축 방향"));
+	strTemp.Format(_T("Y Axis Direction"));			//_T("카占쌨띰옙 Y占쏙옙 占쏙옙占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	//////////////////////////////////////////////////////////////////////////
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Light Type"));				//_T("조명 타입"));
+	strTemp.Format(_T("Light Type"));				//_T("占쏙옙占쏙옙 타占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Light Connection Port"));	//_T("조명 포트"));
+	strTemp.Format(_T("Light Connection Port"));	//_T("占쏙옙占쏙옙 占쏙옙트"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Light Master"));				//_T("마스터 권한"));
+	strTemp.Format(_T("Light Master"));				//_T("占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Light Channel"));			//_T("조명 채널"));
+	strTemp.Format(_T("Light Channel"));			//_T("占쏙옙占쏙옙 채占쏙옙"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
 	Item.row = nRowIdx++;
 	Item.col = nColIdx;
-	strTemp.Format(_T("Light Default Level"));		//_T("조명 기본값"));
+	strTemp.Format(_T("Light Default Level"));		//_T("占쏙옙占쏙옙 占썩본占쏙옙"));
+	Item.strText = strTemp;
+	m_ctrlGridAlignCameraInfo.SetItem(&Item);
+
+	Item.row = nRowIdx++;
+	Item.col = nColIdx;
+	strTemp.Format(_T("Camera ReverseX Mode"));		//_T("카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占�"));
 	Item.strText = strTemp;
 	m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
@@ -453,7 +477,7 @@
 		m_ctrlGridAlignCameraInfo.SetColumnWidth(i + 1, nDataColumnWidth);
 
 		//////////////////////////////////////////////////////////////////////////
-		// 카메라 인덱스
+		// 카占쌨띰옙 占싸듸옙占쏙옙
 		nRowIdx = 0;
 		Item.mask = GVIF_TEXT;
 		Item.row = nRowIdx;
@@ -462,13 +486,13 @@
 		Item.strText = strTemp;
 		m_ctrlGridAlignCameraInfo.SetItem(&Item);
 
-		// 기준 카메라
+		// 占쏙옙占쏙옙 카占쌨띰옙
 		nRowIdx++;
 		Item.strText = _T("");
 		m_ctrlGridAlignCameraInfo.SetCellType(nRowIdx, nColIdx, RUNTIME_CLASS(CGridCellCheck));
 		m_ctrlGridAlignCameraInfo.SetItemState(nRowIdx, nColIdx, m_ctrlGridAlignCameraInfo.GetItemState(nRowIdx, nColIdx) | GVIS_READONLY);
 
-		// 카메라 라이브러리
+		// 카占쌨띰옙 占쏙옙占싱브러占쏙옙
 		nRowIdx++;
 		strArrayOption.RemoveAll();
 		for(j = 0; j < CameraLibrary_Count; j++)
@@ -503,7 +527,7 @@
 		pCellCombo->SetOptions(strArrayOption);
 		pCellCombo->SetStyle(CBS_DROPDOWN);
 
-		// 카메라 플립 타입
+		// 카占쌨띰옙 占시몌옙 타占쏙옙
 		nRowIdx++;
 		strArrayOption.RemoveAll();
 		for(j = 0; j < CAMERA_FLIP_TYPE_COUNT; j++)
@@ -534,24 +558,24 @@
 		pCellCombo->SetOptions(strArrayOption);
 		pCellCombo->SetStyle(CBS_DROPDOWN);
 
-		// 카메라 이름
+		// 카占쌨띰옙 占싱몌옙
 		nRowIdx++;
-		// 카메라 연결 정보
+		// 카占쌨띰옙 占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
-		// 카메라 프레임 개수
+		// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
-		// 카메라 프레임 넓이
+		// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
-		// 카메라 프레임 높이
+		// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
-		// 이미지 버퍼 개수
+		// 占싱뱄옙占쏙옙 占쏙옙占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
-		// 카메라 해상도
+		// 카占쌨띰옙 占쌔삼옙
 		nRowIdx++;
-		// 카메라 컬러 채널
+		// 카占쌨띰옙 占시뤄옙 채占쏙옙
 		nRowIdx++;
 
-		//카메라 X축 방향
+		//카占쌨띰옙 X占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		strArrayOption.RemoveAll();
 		for(j = 0; j < CAMERA_DIRECTION_COUNT; j++)
@@ -559,10 +583,10 @@
 			switch(j)
 			{
 			case CAMERA_DIRECTION_FORWARD:
-				strTemp.Format(_T("Nomal Direction"));//_T("정방향"));
+				strTemp.Format(_T("Nomal Direction"));//_T("占쏙옙占쏙옙占쏙옙"));
 				break;
 			case CAMERA_DIRECTION_BACKWARD:
-				strTemp.Format(_T("Reverse Direction"));//_T("역방향"));
+				strTemp.Format(_T("Reverse Direction"));//_T("占쏙옙占쏙옙占쏙옙"));
 				break;
 			default:
 				strTemp.Format(_T(""));
@@ -577,7 +601,7 @@
 		pCellCombo->SetOptions(strArrayOption);
 		pCellCombo->SetStyle(CBS_DROPDOWN);
 
-		//카메라 Y축 방향
+		//카占쌨띰옙 Y占쏙옙 占쏙옙占쏙옙
 		nRowIdx++;
 		strArrayOption.RemoveAll();
 		for(j = 0; j < CAMERA_DIRECTION_COUNT; j++)
@@ -585,10 +609,10 @@
 			switch(j)
 			{
 			case CAMERA_DIRECTION_FORWARD:
-				strTemp.Format(_T("Nomal Direction"));//_T("정방향"));
+				strTemp.Format(_T("Nomal Direction"));//_T("占쏙옙占쏙옙占쏙옙"));
 				break;
 			case CAMERA_DIRECTION_BACKWARD:
-				strTemp.Format(_T("Reverse Direction"));//_T("역방향"));
+				strTemp.Format(_T("Reverse Direction"));//_T("占쏙옙占쏙옙占쏙옙"));
 				break;
 			default:
 				strTemp.Format(_T(""));
@@ -604,7 +628,7 @@
 		pCellCombo->SetStyle(CBS_DROPDOWN);
 
 		//////////////////////////////////////////////////////////////////////////
-		//조명 타입
+		//占쏙옙占쏙옙 타占쏙옙
 		nRowIdx++;
 		strArrayOption.RemoveAll();
 		for(j = 0; j < LightController_Count; j++)
@@ -695,14 +719,14 @@
 			CCameraControlInfo_Plus* pCameraControlInfo = pCameraInfo->GetCameraControlInfo();
 			if(pCameraControlInfo == NULL)	continue;
 
-			// 기준 카메라
+			// 占쏙옙占쏙옙 카占쌨띰옙
 			pCellCheck = (CGridCellCheck*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 			if(pCellCheck)
 			{
 				pCellCheck->SetCheck(pCameraControlInfo->GetStandardCamera());
 			}
 
-			// 카메라 라이브러리
+			// 카占쌨띰옙 占쏙옙占싱브러占쏙옙
 			nRowIdx++;
 			pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 			if(pCellCombo)
@@ -717,7 +741,7 @@
 				}
 			}
 
-			// 카메라 플립 타입
+			// 카占쌨띰옙 占시몌옙 타占쏙옙
 			nRowIdx++;
 			pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 			if(pCellCombo)
@@ -732,46 +756,46 @@
 				}
 			}
 
-			// 카메라 이름
+			// 카占쌨띰옙 占싱몌옙
 			nRowIdx++;
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, pCameraControlInfo->GetName());
 
-			// 카메라 연결 정보
+			// 카占쌨띰옙 占쏙옙占쏙옙 占쏙옙占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%s"), pCameraControlInfo->GetConnectionPort());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 카메라 프레임 개수
+			// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%d"), pCameraControlInfo->GetFrameCount());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 카메라 프레임 넓이
+			// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%d"), pCameraControlInfo->GetFrameWidth());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 카메라 프레임 높이
+			// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%d"), pCameraControlInfo->GetFrameHeight());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 이미지 버퍼 개수
+			// 占싱뱄옙占쏙옙 占쏙옙占쏙옙 占쏙옙占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%d"), pCameraControlInfo->GetImageBufferCount());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 카메라 해상도
+			// 카占쌨띰옙 占쌔삼옙
 			nRowIdx++;
 			strItemText.Format(_T("%.08lf"), pCameraControlInfo->GetPixelResolution());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 카메라 컬러 채널
+			// 카占쌨띰옙 占시뤄옙 채占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%d"), pCameraControlInfo->GetFrameChannels());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 카메라 X축 방향
+			// 카占쌨띰옙 X占쏙옙 占쏙옙占쏙옙
 			nRowIdx++;
 			pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 
@@ -787,7 +811,7 @@
 				}
 			}
 
-			// 카메라 Y축 방향
+			// 카占쌨띰옙 Y占쏙옙 占쏙옙占쏙옙
 			nRowIdx++;
 			pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 
@@ -806,7 +830,7 @@
 			CLightControlInfo* pLightControlInfo = pCameraInfo->GetLightContorlInfo();
 			if(pLightControlInfo == NULL)	continue;
 
-			// 조명 타입
+			// 占쏙옙占쏙옙 타占쏙옙
 			nRowIdx++;
 			pCellCombo = (CGridCellCombo*)m_ctrlGridAlignCameraInfo.GetCell(nRowIdx, nColIdx);
 			if(pCellCombo)
@@ -822,25 +846,30 @@
 				}
 			}
 
-			// 조명 포트
+			// 占쏙옙占쏙옙 占쏙옙트
 			nRowIdx++;
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, pLightControlInfo->GetConnectionPort());
 
-			// 마스터 권한
+			// 占쏙옙占쏙옙占쏙옙 占쏙옙占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%d"), pLightControlInfo->GetMaster());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 조명 채널
+			// 占쏙옙占쏙옙 채占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%d"), pLightControlInfo->GetChannel());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
-			// 조명 기본값
+			// 占쏙옙占쏙옙 占썩본占쏙옙
 			nRowIdx++;
 			strItemText.Format(_T("%d"), pLightControlInfo->GetDefaultValue());
 			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
 
+			// 카占쌨띰옙 占쏙옙占쏙옙占쏙옙 占쏙옙占�
+			nRowIdx++;
+			strItemText.Format(_T("%d"), pCameraControlInfo->GetCameraReverseX());
+			m_ctrlGridAlignCameraInfo.SetItemText(nRowIdx, nColIdx, strItemText);
+
 			nColIdx++;
 		}
 	}	

--
Gitblit v1.9.3