From 2d96a36538df7d59e831aef19622ad01e8b5c02b Mon Sep 17 00:00:00 2001 From: LYW <leeyeanwoo@diteam.co.kr> Date: 금, 21 5월 2021 17:16:36 +0900 Subject: [PATCH] Ongoing90 #3361 CF AOI Review 전설비 Align Cam 비정상 연결 시 팝업 기능 추가 1) Align Cam, Review Cam 비정상 연결 시 팝업 기능 추가 2) 팝업 후 프로그램 종료 기능 추가 3) #3360_CF AOI QD Review WSI XY MotorMoving Error 알람 발생 원인 분석 및 조치 #3359_CF AOI Review REVIEW_LOADING_COMPLETE_TIMEOVER 알람 발생 원인 분석 트러블 조치 포함 --- ReviewSystem/ReviewRecipeEditor/ReviewRecipeEditorDlg.cpp | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ReviewSystem/ReviewRecipeEditor/ReviewRecipeEditorDlg.cpp b/ReviewSystem/ReviewRecipeEditor/ReviewRecipeEditorDlg.cpp index 12bdeed..b8f0898 100644 --- a/ReviewSystem/ReviewRecipeEditor/ReviewRecipeEditorDlg.cpp +++ b/ReviewSystem/ReviewRecipeEditor/ReviewRecipeEditorDlg.cpp @@ -373,11 +373,11 @@ CString strRecipeName, strPath, strMessage, strTemp; CCellID cellID = m_ctrlGridRecipeList.GetFocusCell(); - if(cellID.row > 0 && cellID.col > 0) + if (cellID.row > 0 && cellID.col > 0) { strRecipeName = m_ctrlGridRecipeList.GetItemText(cellID.row, 1); - if(m_bReviewSystemPC) + if (m_bReviewSystemPC) { strPath.Format(_T("%s\\%s.rcp"), _REVIEW_RECIPE_PATH_, strRecipeName); } @@ -386,7 +386,7 @@ strTemp.Format(_T("%s\\%s.rcp"), _REVIEW_RECIPE_PATH_, strRecipeName); nIdx = strTemp.Find(_T("\\")); - if(nIdx != -1) + if (nIdx != -1) { strTemp = strTemp.Mid(nIdx + 1); strPath.Format(_T("\\\\%s\\C\\%s"), NETIP_A2E_REVIEW_SYSTEM, strTemp); @@ -503,7 +503,7 @@ { CString strMessage; - if(RecipeName.IsEmpty()) + if (RecipeName.IsEmpty()) { AfxMessageBox(_T("Seleted recipe is not exist.")); } @@ -515,7 +515,7 @@ bRet = SaveRecipeFile(RecipeName); - if(bRet) + if (bRet) { // [2017:4:17]-[WEZASW] : CIM(Recipe) 보고 항목 추가. COPYDATA_RECIPE2REV copyData; @@ -537,7 +537,7 @@ // strBackupFile = strBackupPath + m_strCurrentRecipeName + strBackupFile; CString strSource, strDest; strSource.Format(_T("%s\\%s.rcp"), _REVIEW_RECIPE_PATH_, RecipeName); - strDest.Format(_T("%s\\%s_%s.rcp"),strBackupPath, RecipeName, strBackupFile ); + strDest.Format(_T("%s\\%s_%s.rcp"), strBackupPath, RecipeName, strBackupFile); CopyFile(strSource, strDest, TRUE); //LYW_#3344_CF AOI Review Config File 백업 기능 개선 ADD START @@ -570,7 +570,7 @@ // TODO: 여기에 컨트롤 알림 처리기 코드를 추가합니다. CString strMessage; - if(m_strCurrentRecipeName.IsEmpty()) + if (m_strCurrentRecipeName.IsEmpty()) { AfxMessageBox(_T("Seleted recipe is not exist.")); } @@ -582,7 +582,7 @@ bRet = SaveRecipeFile(m_strCurrentRecipeName); - if(bRet) + if (bRet) { // [2017:4:17]-[WEZASW] : CIM(Recipe) 보고 항목 추가. COPYDATA_RECIPE2REV copyData; @@ -604,7 +604,7 @@ // strBackupFile = strBackupPath + m_strCurrentRecipeName + strBackupFile; CString strSource, strDest; strSource.Format(_T("%s\\%s.rcp"), _REVIEW_RECIPE_PATH_, m_strCurrentRecipeName); - strDest.Format(_T("%s\\%s_%s.rcp"),strBackupPath, m_strCurrentRecipeName, strBackupFile ); + strDest.Format(_T("%s\\%s_%s.rcp"), strBackupPath, m_strCurrentRecipeName, strBackupFile); CopyFile(strSource, strDest, TRUE); //LYW_#3344_CF AOI Review Config File 백업 기능 개선 ADD START @@ -628,7 +628,7 @@ RefreshRecipeList(); } - + CRMMInfoWriter rmmInfoWriter; int nMachineType = m_pDlgReviewFilter->GetMachineType(); if (rmmInfoWriter.WriteRmm(nMachineType) == FALSE) @@ -636,7 +636,7 @@ strMessage.Format(_T("Fail to save RMM INFO!")); AfxMessageBox(strMessage); } - + } void CReviewRecipeEditorDlg::OnBnClickedButtonReviewrcpEditorExit() -- Gitblit v1.9.3