| | |
| | | |
| | | CDlgAlign::CDlgAlign(CWnd* pParent /*=NULL*/) |
| | | : CDialog(CDlgAlign::IDD, pParent) |
| | | , m_dMatchingPixelStandard(0) |
| | | , m_dMatchingAlarmCondition(0) |
| | | { |
| | | m_pFirstView = new CCHImageView(this); |
| | | m_pSecondView = new CCHImageView(this); |
| | |
| | | DDX_Control(pDX, IDC_CHECK_EDGEALIGN_PROCESS, m_ctrlCheckEdgeAlignProcess); |
| | | DDX_Control(pDX, IDC_CHECK_ALIGN_SKIP, m_ctrlCheckAlignSkip); |
| | | DDX_Control(pDX, IDC_CHECK_TOTALPITCHMEASRE, m_ctrlTotalPitchMeasure); |
| | | DDX_Text(pDX, IDC_EDIT_MATCHONG_PIXEL_STANDARD, m_dMatchingPixelStandard); |
| | | DDX_Text(pDX, IDC_EDIT_MATCHING_ALARM_CONDITION, m_dMatchingAlarmCondition); |
| | | } |
| | | |
| | | |
| | |
| | | nRowIdx++; |
| | | pRcpRsAlignManager->GetRsRcpAlignInfo()->m_strSecondAssistantImageFile = m_ctrlGridAlignImageInfo.GetItemText(nRowIdx, nColIdx); |
| | | nRowIdx++; |
| | | |
| | | strItemText.Format(_T("%d"), m_dMatchingPixelStandard); |
| | | pRcpRsAlignManager->GetRsRcpAlignInfo()->m_strMatchingPixelStandard = strItemText; |
| | | |
| | | strItemText.Format(_T("%d"), m_dMatchingAlarmCondition); |
| | | pRcpRsAlignManager->GetRsRcpAlignInfo()->m_strMatchingAlarmCondition = strItemText; |
| | | /*< LYW 20211012 - #3671 ADD End >*/ |
| | | |
| | | strItemText = m_ctrlGridAlignImageInfo.GetItemText(nRowIdx, nColIdx); |
| | |
| | | pCellButton = (CGridCellButton*)m_ctrlGridAlignImageInfo.GetCell(nRowIdx, nColIdx); |
| | | pCellButton->SetText(_T("Browser")); |
| | | |
| | | /*< LYW 20211014 - #3671 ADD Start >*/ |
| | | strItemText = pRcpRsAlignManager->GetRsRcpAlignInfo()->m_strMatchingPixelStandard; |
| | | m_dMatchingPixelStandard = _tcstod(strItemText, NULL); |
| | | |
| | | strItemText = pRcpRsAlignManager->GetRsRcpAlignInfo()->m_strMatchingAlarmCondition; |
| | | m_dMatchingAlarmCondition = _tcstod(strItemText, NULL); |
| | | |
| | | /*< LYW 20211014 - #3671 ADD End >*/ |
| | | |
| | | |
| | | m_ctrlCheckImageProcess.SetCheck(pRcpRsAlignManager->GetRsRcpAlignInfo()->m_bUseImage); |
| | | |
| | |
| | | FillAlignRotateInfo(); |
| | | FillAlignImageInfo(); |
| | | |
| | | /*< LYW 20211014 - #3671 ADD Start >*/ |
| | | UpdateData(FALSE); |
| | | /*< LYW 20211014 - #3671 ADD End >*/ |
| | | Invalidate(FALSE); |
| | | } |
| | | |