| | |
| | | nRows = 14; |
| | | break; |
| | | case eRcp_InsType_RipThickness: |
| | | nRows = 10; |
| | | nRows = 15; |
| | | break; |
| | | default: |
| | | break; |
| | |
| | | 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; |
| | | |
| | |
| | | nRows = 11; |
| | | break; |
| | | case eRcp_InsType_RipThickness: |
| | | nRows = 7; |
| | | nRows = 10; |
| | | break; |
| | | default: |
| | | break; |
| | |
| | | } |
| | | 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; |
| | |
| | | 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); |
| | | |