From 9aa3a8ff940e89bb0b5c75bc8abd0864e4c85874 Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 화, 17 8월 2021 10:00:15 +0900 Subject: [PATCH] 이전 머지간 누락된 코드 삽입 --- ReviewSystem/ReviewRecipeEditor/DlgReview.cpp | 187 ++++++++++++++++++++++++++-------------------- 1 files changed, 105 insertions(+), 82 deletions(-) diff --git a/ReviewSystem/ReviewRecipeEditor/DlgReview.cpp b/ReviewSystem/ReviewRecipeEditor/DlgReview.cpp index ab0c062..20ef737 100644 --- a/ReviewSystem/ReviewRecipeEditor/DlgReview.cpp +++ b/ReviewSystem/ReviewRecipeEditor/DlgReview.cpp @@ -236,19 +236,24 @@ const CRcpPriorityInfo* pRcpPriorityInfo = pRsRcpReviewInfo->GetRcpWsiPriorityInfo(i); if (pRcpPriorityInfo == NULL) continue; - pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx); + /*pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx); if(pCellCombo) { strArrayOption.RemoveAll(); pCellCombo->GetOptions(strArrayOption); if(strArrayOption.GetSize() > 0) - { + {*/ //strItemText = strArrayOption.GetAt(pRcpPriorityInfo->GetPriorityOpticData()); - strItemText = strArrayOption.GetAt(pRcpPriorityInfo->GetPriorityDefectCode()); //WSI 占쏙옙占쏙옙占쏙옙 //20210608 + //strItemText = strArrayOption.GetAt(pRcpPriorityInfo->GetPriorityDefectCode()); //WSI 占쏙옙占쏙옙占쏙옙 //20210608 + //m_ctrlGridFilterinfo.SetItemText(nRowIdx, nColIdx++, strItemText); + + //LYW #3428 CF AOI Review Recipe Editor 由щ럭 �슦�꽑�닚�쐞 議곌굔 ���엯 蹂�寃쎄린�뒫 �쟻�슜 諛� 寃�利� MOD START + strItemText.Format(_T("%s"), pRcpPriorityInfo->GetPriorityDefectCode()); m_ctrlGridFilterinfo.SetItemText(nRowIdx, nColIdx++, strItemText); - } - } + //LYW #3428 CF AOI Review Recipe Editor 由щ럭 �슦�꽑�닚�쐞 議곌굔 ���엯 蹂�寃쎄린�뒫 �쟻�슜 諛� 寃�利� MOD END + // } + //} pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx); @@ -285,7 +290,8 @@ if(strArrayOption.GetSize() > 0) { - strItemText = strArrayOption.GetAt(pRcpPriorityInfo->GetPriorityStackData()); + //LYW ERR�닔�젙 + strItemText = strArrayOption.GetAt(pRcpPriorityInfo->GetPriorityGrayData()); m_ctrlGridFilterinfo.SetItemText(nRowIdx, nColIdx++, strItemText); } } @@ -357,19 +363,24 @@ const CRcpPriorityInfo* pRcpPriorityInfo = pRsRcpReviewInfo->GetRcpPriorityInfo(i); if (pRcpPriorityInfo == NULL) continue; - pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx); + /*pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx); if(pCellCombo) { strArrayOption.RemoveAll(); pCellCombo->GetOptions(strArrayOption); if(strArrayOption.GetSize() > 0) - { + {*/ //strItemText = strArrayOption.GetAt(pRcpPriorityInfo->GetPriorityOpticData()); - strItemText = strArrayOption.GetAt(pRcpPriorityInfo->GetPriorityDefectCode());//20210608 TRDF 占쏙옙占쏙옙占쏙옙 + //strItemText = strArrayOption.GetAt(pRcpPriorityInfo->GetPriorityDefectCode());//20210608 TRDF 占쏙옙占쏙옙占쏙옙 + //m_ctrlGridFilterinfo.SetItemText(nRowIdx, nColIdx++, strItemText); + + //LYW #3428 CF AOI Review Recipe Editor 由щ럭 �슦�꽑�닚�쐞 議곌굔 ���엯 蹂�寃쎄린�뒫 �쟻�슜 諛� 寃�利� MOD START + strItemText.Format(_T("%s"), pRcpPriorityInfo->GetPriorityDefectCode()); m_ctrlGridFilterinfo.SetItemText(nRowIdx, nColIdx++, strItemText); - } - } + //LYW #3428 CF AOI Review Recipe Editor 由щ럭 �슦�꽑�닚�쐞 議곌굔 ���엯 蹂�寃쎄린�뒫 �쟻�슜 諛� 寃�利� MOD END + /* } + }*/ pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx); if(pCellCombo) @@ -672,25 +683,30 @@ if(pRcpPriorityInfo == NULL) continue; // optic - pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx++); - if(pCellCombo) - { - strArrayOption.RemoveAll(); - strItemText = pCellCombo->GetText(); - pCellCombo->GetOptions(strArrayOption); - nArrayCount = (int)strArrayOption.GetCount(); + //pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx++); + //if(pCellCombo) + //{ + // strArrayOption.RemoveAll(); + // strItemText = pCellCombo->GetText(); + // pCellCombo->GetOptions(strArrayOption); + // nArrayCount = (int)strArrayOption.GetCount(); - for(j = 0; j < nArrayCount; j++) - { - strTemp = strArrayOption.GetAt(j); - if(strTemp.Compare(strItemText) == 0) - { - //pRcpPriorityInfo->SetPriorityOpticData(j);//20210608 - pRcpPriorityInfo->SetPriorityDefectCode(j); - break; - } - } - } + // for(j = 0; j < nArrayCount; j++) + // { + // strTemp = strArrayOption.GetAt(j); + // if(strTemp.Compare(strItemText) == 0) + // { + // //pRcpPriorityInfo->SetPriorityOpticData(j);//20210608 + // pRcpPriorityInfo->SetPriorityDefectCode(j); + // break; + // } + // } + //} + + //LYW #3428 CF AOI Review Recipe Editor 由щ럭 �슦�꽑�닚�쐞 議곌굔 ���엯 蹂�寃쎄린�뒫 �쟻�슜 諛� 寃�利� MOD START + strItemText.Format(_T("%s"), m_ctrlGridFilterinfo.GetItemText(nRowIdx, nColIdx++)); + pRcpPriorityInfo->SetPriorityDefectCode(strItemText); + //LYW #3428 CF AOI Review Recipe Editor 由щ럭 �슦�꽑�닚�쐞 議곌굔 ���엯 蹂�寃쎄린�뒫 �쟻�슜 諛� 寃�利� MOD END pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx++); if(pCellCombo) @@ -786,25 +802,30 @@ CRcpPriorityInfo* pRcpPriorityInfo = pRsRcpReviewInfo->GetRcpPriorityInfo(i); if(pRcpPriorityInfo == NULL) continue; - pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx++); - if(pCellCombo) - { - strArrayOption.RemoveAll(); - strItemText = pCellCombo->GetText(); - pCellCombo->GetOptions(strArrayOption); - nArrayCount = (int)strArrayOption.GetCount(); + //pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx++); + //if(pCellCombo) + //{ + // strArrayOption.RemoveAll(); + // strItemText = pCellCombo->GetText(); + // pCellCombo->GetOptions(strArrayOption); + // nArrayCount = (int)strArrayOption.GetCount(); - for(j = 0; j < nArrayCount; j++) - { - strTemp = strArrayOption.GetAt(j); - if(strTemp.Compare(strItemText) == 0) - { - //pRcpPriorityInfo->SetPriorityOpticData(j); //20210608 - pRcpPriorityInfo->SetPriorityDefectCode(j); - break; - } - } - } + // for(j = 0; j < nArrayCount; j++) + // { + // strTemp = strArrayOption.GetAt(j); + // if(strTemp.Compare(strItemText) == 0) + // { + // //pRcpPriorityInfo->SetPriorityOpticData(j); //20210608 + // pRcpPriorityInfo->SetPriorityDefectCode(j); + // break; + // } + // } + //} + + //LYW #3428 CF AOI Review Recipe Editor 由щ럭 �슦�꽑�닚�쐞 議곌굔 ���엯 蹂�寃쎄린�뒫 �쟻�슜 諛� 寃�利� MOD START + strItemText.Format(_T("%s"), m_ctrlGridFilterinfo.GetItemText(nRowIdx, nColIdx++)); + pRcpPriorityInfo->SetPriorityDefectCode(strItemText); + //LYW #3428 CF AOI Review Recipe Editor 由щ럭 �슦�꽑�닚�쐞 議곌굔 ���엯 蹂�寃쎄린�뒫 �쟻�슜 諛� 寃�利� MOD END pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx++); if(pCellCombo) @@ -1406,41 +1427,43 @@ } strArrayOption.Add(strTemp); }*/ - for (j = 0; j < RCP_PRIORITY_DEFECTCODE_COUNT; j++)//20210608 - { - switch (j) - { - case RCP_PRIORITY_DEFECT_CODE_ALL: - strTemp.Format(_T("ALL")); - break; - case RCP_PRIORITY_DEFECT_CODE_TRDF: - strTemp.Format(_T("TRDF")); - break; - case RCP_PRIORITY_DEFECT_CODE_BATR: - strTemp.Format(_T("BATR")); - break; - case RCP_PRIORITY_DEFECT_CODE_DOBB: - strTemp.Format(_T("DOBB")); - break; - case RCP_PRIORITY_DEFECT_CODE_DOBS: - strTemp.Format(_T("DOBS")); - break; - case RCP_PRIORITY_DEFECT_CODE_DOWW: - strTemp.Format(_T("DOWW")); - break; - case RCP_PRIORITY_DEFECT_CODE_DOWB: - strTemp.Format(_T("DOWB")); - break; - case RCP_PRIORITY_DEFECT_CODE_DOWS: - strTemp.Format(_T("DOWS")); - break; - } - strArrayOption.Add(strTemp); - } - m_ctrlGridFilterinfo.SetCellType(nRowIdx, nColIdx, RUNTIME_CLASS(CGridCellCombo)); - pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx++); - pCellCombo->SetOptions(strArrayOption); - pCellCombo->SetStyle(CBS_DROPDOWN); + //for (j = 0; j < RCP_PRIORITY_DEFECTCODE_COUNT; j++)//20210608 + //{ + // switch (j) + // { + // case RCP_PRIORITY_DEFECT_CODE_ALL: + // strTemp.Format(_T("ALL")); + // break; + // case RCP_PRIORITY_DEFECT_CODE_TRDF: + // strTemp.Format(_T("TRDF")); + // break; + // case RCP_PRIORITY_DEFECT_CODE_BATR: + // strTemp.Format(_T("BATR")); + // break; + // case RCP_PRIORITY_DEFECT_CODE_DOBB: + // strTemp.Format(_T("DOBB")); + // break; + // case RCP_PRIORITY_DEFECT_CODE_DOBS: + // strTemp.Format(_T("DOBS")); + // break; + // case RCP_PRIORITY_DEFECT_CODE_DOWW: + // strTemp.Format(_T("DOWW")); + // break; + // case RCP_PRIORITY_DEFECT_CODE_DOWB: + // strTemp.Format(_T("DOWB")); + // break; + // case RCP_PRIORITY_DEFECT_CODE_DOWS: + // strTemp.Format(_T("DOWS")); + // break; + // } + // strArrayOption.Add(strTemp); + //} + //m_ctrlGridFilterinfo.SetCellType(nRowIdx, nColIdx, RUNTIME_CLASS(CGridCellCombo)); + //pCellCombo = (CGridCellCombo*)m_ctrlGridFilterinfo.GetCell(nRowIdx, nColIdx++); + //pCellCombo->SetOptions(strArrayOption); + //pCellCombo->SetStyle(CBS_DROPDOWN); + + nColIdx++; strArrayOption.RemoveAll(); for (j = 0; j < RCP_PRIORITY_GRADE_COUNT; j++) -- Gitblit v1.9.3