#pragma once
|
|
#include "CHCommonControls/GridCtrl.h"
|
#include "CHCommonControls/GridCell.h"
|
#include "CHCommonControls/GridCellCombo.h"
|
#include "CHCommonControls/GridCellCheck.h"
|
#include "CHReviewRecipe/RcpFilteringInfo.h"
|
#include "CHReviewRecipe/RcpPriorityInfo.h"
|
#include "afxwin.h"
|
|
#define PRIORITY_INFO_GRID_COL_COUNT 7
|
|
// CDlgReview ´ëÈ »óÀÚÀÔ´Ï´Ù.
|
|
class CDlgReview : public CDialog
|
{
|
DECLARE_DYNAMIC(CDlgReview)
|
|
public:
|
CDlgReview(int nType, int nMachineType = 0, CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
|
virtual ~CDlgReview();
|
|
// ´ëÈ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
|
enum { IDD = IDD_DIALOG_REVIEW_RCP_EDITOR_REVIEW };
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿øÀÔ´Ï´Ù.
|
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
CButton m_ctrlSortType;
|
CButton m_ctrlSortType2;
|
CButton m_ctrlSortOrder;
|
CButton m_ctrlSortOrder2;
|
CButton m_ctrlSortPriority; // None
|
CButton m_ctrlSortPriority2; // Circle
|
CButton m_ctrlSortPriority3; // Scratch
|
CButton m_ctrlSortPriority4; // Bubble
|
CButton m_ctrlAutoLight;
|
|
CGridCtrl m_ctrlGridLightInfo;
|
CGridCtrl m_ctrlGridAFMRecipeInfo;
|
CGridCtrl m_ctrlGridFilterinfo;
|
|
int m_nLightCount;
|
int m_nAFMCount;
|
int m_nFilterCount;
|
|
public:
|
afx_msg void OnBnClickedButtonReviewReset();
|
afx_msg void OnBnClickedButtonReviewApply();
|
afx_msg void OnEnChangeEditRcpFilterCount();
|
afx_msg void OnGridClick(NMHDR *pNotifyStruct, LRESULT* pResult);
|
|
void InitFilterGridControl();
|
|
void FillFilterInfo(int nType);
|
void InitLightInfoGridControl();
|
void FillLightInfoInfo(int nType);
|
void InitAFMRecipeGridControl();
|
void FillAFMRecipeInfo(int nType);
|
|
void SetFilterInfo(int nType);
|
void SetLightAFMInfo(int nType);
|
|
void UpdateDialogData(int nType);
|
virtual BOOL OnInitDialog();
|
|
void SetReviewCount(int reviewCount);
|
int GetMachineType(){return m_nMachineType;}
|
protected:
|
int m_nType;
|
int m_nMachineType;
|
int m_nReviewCount;
|
int GetDefectType(CString strDefectName);
|
|
void SizeOptionSetting(int nIndex);
|
public:
|
CComboBox m_comboctrlSortPriority;
|
double m_dDefocusValue;
|
CButton m_ctrlDefocusAlarm;
|
};
|