mrDarker
2025-08-14 4fb0f6c9b7b0fdfc6cc52c9bf1153d87f92651ca
EdgeInspector_App/ViewMain_Recipe.cpp
@@ -1657,7 +1657,7 @@
      nRows = 14;
      break;
   case eRcp_InsType_RipThickness:
      nRows = 10;
      nRows = 15;
      break;
   default:
      break;
@@ -1855,6 +1855,16 @@
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Ins. B Offset"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Ins. Use (0:OFF/1:ON)"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Ins. Range (um)"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Ins. SideLine Offset (um)"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Ins. Min Thres"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Ins. Max Thres"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      CLanguageControl* pLanguageControl = g_pStatus->m_pLanguageControl;
@@ -1911,7 +1921,7 @@
      nRows = 11;
      break;
   case eRcp_InsType_RipThickness:
      nRows = 7;
      nRows = 10;
      break;
   default:
      break;
@@ -2069,17 +2079,23 @@
   }
   else if (eRcp_InsType_RipThickness == m_eSelectInsType) {
      std::vector<CString> vecParams;
      strTemp.Format(_T("Glass Size Min um"), g_strInsType[m_eSelectInsType]);
      strTemp.Format(_T("Glass %s Size Min um"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("Glass Size Max um"), g_strInsType[m_eSelectInsType]);
      strTemp.Format(_T("Glass %s Size Max um"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("Left Rip Size Min um"), g_strInsType[m_eSelectInsType]);
      strTemp.Format(_T("Left %s Rip Size Min um"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("Left Rip Size Max um"), g_strInsType[m_eSelectInsType]);
      strTemp.Format(_T("Left %s Rip Size Max um"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("Right Rip Size Min um"), g_strInsType[m_eSelectInsType]);
      strTemp.Format(_T("Right %s Rip Size Min um"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("Right Rip Size Max um"), g_strInsType[m_eSelectInsType]);
      strTemp.Format(_T("Right %s Rip Size Max um"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Rip Judge Size Min X um"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Rip Judge Size Min Y um"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      strTemp.Format(_T("%s Rip Judge Mode (0:NoUse/1:OR/2:AND)"), g_strInsType[m_eSelectInsType]);
      vecParams.push_back(strTemp);
      CLanguageControl* pLanguageControl = g_pStatus->m_pLanguageControl;
@@ -2609,7 +2625,8 @@
            m_SideInspectInfo.SetItemText(nRowIdx++, nColIdx, strTemp);
            // 10.  RIP Inspect Use
            m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(uCellColor);
            if (rip.m_bRipUseInspect)  m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(RGB(50, 255, 50));
            else                       m_SideInspectInfo.GetCell(nRowIdx, nColIdx)->SetBackClr(RGB(255, 50, 50));
            strTemp.Format(_T("%d"), rip.m_bRipUseInspect);
            m_SideInspectInfo.SetItemText(nRowIdx++, nColIdx, strTemp);