SDC C-Project CF Review 프로그램
LYW
2022-05-25 a35126eed28a409e5a48da7f1de4ed83093c7424
ReviewSystem/ReviewRecipeEditor/DlgCommon.cpp
@@ -18,7 +18,7 @@
   , m_nPlanCount(0)
   , m_nUserDefectCount(0)
   , m_nReflowPixelScale(0)
   , m_EditControl_GantryPathUse(0)
   , m_nradioGantryMode(0)
{
   m_nSelectPlanIdx = -1;
   m_nLightCount = 0;
@@ -68,6 +68,9 @@
   DDX_Control(pDX, IDC_STATIC_GLASS_SLOT_26, m_ctrlStaticGlassSlot_26);
   DDX_Control(pDX, IDC_STATIC_GLASS_SLOT_27, m_ctrlStaticGlassSlot_27);
   DDX_Control(pDX, IDC_STATIC_GLASS_SLOT_28, m_ctrlStaticGlassSlot_28);
   /*< LYW 20220525 - #4157 ADD Start >*/
   DDX_Radio(pDX, IDC_RADIO_GANTRY_MODE_1, (int&)m_nradioGantryMode);
   /*< LYW 20220525 - #4157 ADD End >*/
   DDX_Control(pDX, IDC_STATIC_GLASS_SLOT_ALL_SELECT, m_ctrlStaticGlassSlot_ALL_Select);
   DDX_Control(pDX, IDC_STATIC_GLASS_SLOT_ALL_DESELECT, m_ctrlStaticGlassSlot_ALL_Deselect);
@@ -77,7 +80,6 @@
   DDX_Control(pDX, IDC_CHECK_AUTO_LIGHT, m_ctrlAutoLight);
   DDX_Control(pDX, IDC_COMBO_RCP_GLASSORIGIN, m_ctrlComboGlassOrigin);
   DDX_Text(pDX, IDC_EDIT_RCP_REFLOW_PIXEL_SCALE, m_nReflowPixelScale);
   DDX_Text(pDX, IDC_EDIT_USE_SINGLE_GANTRY_PATH, m_EditControl_GantryPathUse);
}
@@ -85,6 +87,7 @@
   ON_BN_CLICKED(IDC_BUTTON_RCP_REVIEW_RESET, &CDlgCommon::OnBnClickedButtonRcpReviewReset)
   ON_BN_CLICKED(IDC_BUTTON_RCP_REVIEW_APPLY, &CDlgCommon::OnBnClickedButtonRcpReviewApply)
   ON_CONTROL_RANGE(BN_CLICKED, IDC_STATIC_GLASS_SLOT_01, IDC_STATIC_GLASS_SLOT_28, OnGlassSlotClick)
   ON_CONTROL_RANGE(BN_CLICKED, IDC_RADIO_GANTRY_MODE_1, IDC_RADIO_GANTRY_MODE_3, OnClickRadioGantryMode)
   ON_EN_CHANGE(IDC_EDIT_RCP_REVIEW_PLAN_COUNT, &CDlgCommon::OnEnChangeEditRcpReviewPlanCount)
   ON_EN_CHANGE(IDC_EDIT_RCP_REVIEW_USER_DEFECT_COUNT, &CDlgCommon::OnEnChangeEditRcpReviewUserDefectCount)
   ON_NOTIFY(NM_CLICK, IDC_GRID_RCP_REVIEW_PLAN_INFO, &CDlgCommon::OnPlanInfoGridClick)   
@@ -93,6 +96,8 @@
   ON_NOTIFY(NM_CLICK, IDC_GRID_RCP_REFLOW_PARAMETER, &CDlgCommon::OnClickImageInfo)
   ON_BN_CLICKED(IDC_BUTTON_USER_PITCH_INPUT, &CDlgCommon::OnBnClickedButtonUserPitchInput)
   ON_BN_CLICKED(IDC_BUTTON4, &CDlgCommon::OnBnClickedButton4)
   /*< LYW 20220525 - #4157 ADD Start >*/
   /*< LYW 20220525 - #4157 ADD End >*/
END_MESSAGE_MAP()
// CDlgCommon 메시지 처리기입니다.
@@ -507,7 +512,9 @@
   strItemText = m_ctrlGridScheduleInfo.GetItemText(nRowIdx, nColIdx++);
   pScheduleInfo->SetMaxWsiPointCount(_ttoi(strItemText));
   pScheduleInfo->SetSingleGantryPath(m_EditControl_GantryPathUse);
   //pScheduleInfo->SetSingleGantryPath(m_EditControl_GantryPathUse);
   pScheduleInfo->SetSingleGantryPath(m_nradioGantryMode);
   pCellCheck = (CGridCellCheck*)m_ctrlGridScheduleInfo.GetCell(nRowIdx, nColIdx++);
   if(pCellCheck)
@@ -529,7 +536,8 @@
   strItemText = m_ctrlGridScheduleRangeCntInfo.GetItemText(nRowIdx, nColIdx++);
   pScheduleInfo->SetRangePointCount(Range_Right, _ttoi(strItemText));
   pScheduleInfo->SetSingleGantryPath(m_EditControl_GantryPathUse);
   //pScheduleInfo->SetSingleGantryPath(m_EditControl_GantryPathUse);
   pScheduleInfo->SetSingleGantryPath(m_nradioGantryMode);
   //사용자 결함
   nRowIdx = 1;
@@ -1256,8 +1264,8 @@
   strItemText.Format(_T("%d"), pScheduleInfo->GetMaxPointCount());
   m_ctrlGridScheduleInfo.SetItemText(nRowIdx, nColIdx++, strItemText);
   
   m_EditControl_GantryPathUse = pRsRcpReviewInfo->GetRcpSchedulingInfo()->GetSingleGantryPath();
   //m_EditControl_GantryPathUse = pRsRcpReviewInfo->GetRcpSchedulingInfo()->GetSingleGantryPath();
   m_nradioGantryMode = pRsRcpReviewInfo->GetRcpSchedulingInfo()->GetSingleGantryPath();
   m_ctrlGridScheduleInfo.Invalidate(FALSE);
}
@@ -2066,6 +2074,11 @@
}
void CDlgCommon::OnClickRadioGantryMode(UINT ID)
{
   return;
}
void CDlgCommon::OnSetMaster(BOOL bSetMaster, int dir, CPoint* reflowPoints)
{
   CString strTemp;