LWQ
2025-08-13 be72a344954f46a40c96848071a10996fc4bf030
EdgeInspector_App/ViewMain_Recipe.cpp
@@ -2607,6 +2607,31 @@
            m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nBottomOffset);
            m_SideInspectInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 10.  RIP Inspect Use
            m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_bRipUseInspect);
            m_SideInspectInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 11.  RIP Inspect Range
            m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nRipInspect_Range_um);
            m_SideInspectInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 12.  RIP Inspect SideLine Offset
            m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nRipInspect_SideLine_Offset_um);
            m_SideInspectInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 13.  RIP Min Threshold
            m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nRipMin_Threshold);
            m_SideInspectInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 14.  RIP Min Threshold
            m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nRipMax_Threshold);
            m_SideInspectInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
         }
      }
@@ -2815,6 +2840,26 @@
            // 9. B Offset
            strTemp = m_SideInspectInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nBottomOffset = _wtoi(strTemp);
            // 10.  RIP Inspect Use
            strTemp = m_SideInspectInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_bRipUseInspect = _wtoi(strTemp);
            // 11.  RIP Inspect Range
            strTemp = m_SideInspectInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nRipInspect_Range_um = _wtoi(strTemp);
            // 12.  RIP Inspect SideLine Offset
            strTemp = m_SideInspectInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nRipInspect_SideLine_Offset_um = _wtoi(strTemp);
            // 13.  RIP Min Threshold
            strTemp = m_SideInspectInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nRipMin_Threshold = _wtoi(strTemp);
            // 14.  RIP Min Threshold
            strTemp = m_SideInspectInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nRipMax_Threshold = _wtoi(strTemp);
         }
      }
   }
@@ -3000,6 +3045,18 @@
            m_JudgementInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nRightRipSizeMax_um);
            m_JudgementInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 7. Rip chip Size Min um
            m_JudgementInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nRipJudge_Size_Min_X_um);
            m_JudgementInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 8. Rip chip Size Max um
            m_JudgementInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nRipJudge_Size_Min_Y_um);
            m_JudgementInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 9. Rip chip OR/AND
            m_JudgementInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            strTemp.Format(_T("%d"), rip.m_nRipJudge_Size_Min_OR_AND);
            m_JudgementInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
         }
      }
@@ -3144,6 +3201,15 @@
            // 6. Right Rip Size Max um
            strTemp = m_JudgementInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nRightRipSizeMax_um = _wtoi(strTemp);
            // 7. Rip chip Size Min um
            strTemp = m_JudgementInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nRipJudge_Size_Min_X_um = _wtoi(strTemp);
            // 8. Rip chip Size Max um
            strTemp = m_JudgementInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nRipJudge_Size_Min_Y_um = _wtoi(strTemp);
            // 9. Rip chip OR/AND
            strTemp = m_JudgementInfo.GetItemText(nRowIdx++, nColIdx);
            rip.m_nRipJudge_Size_Min_OR_AND = _wtoi(strTemp);
         }
      }
   }