#pragma once
|
#include "CHCommonControls/GridCtrl.h"
|
#include "CHCommonControls/GridCell.h"
|
#include "CHCommonControls/GridCellCombo.h"
|
#include "CHCommonControls/GridCellCheck.h"
|
#include "CHCommonControls/FontStatic.h"
|
#include "afxwin.h"
|
#include "CHCommonControls/GridCtrl.h"
|
#include "DlgReflowMasterImage.h"
|
#define PLAN_INFO_GRID_COL_COUNT 2
|
#define LIGHT_INFO_GRID_ROW_COUNT 5
|
#define AFM_RECIPE_INFO_GRID_ROW_COUNT 6
|
#define SCHEDULE_INFO_GRID_ROW_COUNT 2
|
#define SCHEDULE_INFO_GRID_COL_COUNT 5
|
#define SCHEDULE_RANGE_CNT_INFO_GRID_ROW_COUNT 2
|
#define SCHEDULE_RANGE_CNT_INFO_GRID_COL_COUNT 4
|
#define REFLOW_PARAMETER_GRID_COL_COUNT 11
|
#define REFLOW_PARAMETER_GRID_ROW_COUNT 3
|
#define USER_DEFECT_INFO_GRID_COL_COUNT 8
|
|
// [2017:5:12]-[WEZASW] : BOE B7 ¼³ºñÀÇ Lens Index ¼³Á¤(RecipeEditor¿ÍÀÇ ¸ÉÇÎ)
|
enum RECIPE_MAGNIFICATION { RECIPE_MAGNIFICATION_X2=0, RECIPE_MAGNIFICATION_X5, RECIPE_MAGNIFICATION_X10, RECIPE_MAGNIFICATION_X20, RECIPE_MAGNIFICATION_X50, RECIPE_MAGNIFICATION_COUNT };
|
enum RECIPE_REFLOW_CELLSIDE { RECIPE_REFLOW_CELLSIDE_TOP=0, RECIPE_REFLOW_CELLSIDE_LEFT, RECIPE_REFLOW_CELLSIDE_RIGHT,RECIPE_REFLOW_CELLSIDE_LEFTTOP, RECIPE_REFLOW_CELLSIDE_RIGHTTOP,
|
RECIPE_REFLOW_CELLSIDE_LEFTBOTTOM, RECIPE_REFLOW_CELLSIDE_RIGHTBOTTOM, RECIPE_REFLOW_CELLSIDE_BOTTOM, RECIPE_REFLOW_CELLSID_LEFTNOTCH, RECIPE_REFLOW_CELLSID_RIGHTNOTCH,
|
RECIPE_REFLOW_CELLSIDE_COUNT};
|
const CString strRecipeReflowCellside[RECIPE_REFLOW_CELLSIDE_COUNT] = {_T("TOP"), _T("LEFT"), _T("RIGHT"), _T("LT"), _T("RT"), _T("LB"), _T("RB"), _T("BOTTOM"), _T("LNOTCH"), _T("RNOTCH")};
|
enum RECIPE_REFLOW_INSPECTIONMODE { RECIPE_INSPECTIONMODE_REVIEW = 0, RECIPE_INSPECTIONMODE_WSI, RECIPE_INSPECTIONMODE_REVIEW_WSI, RECIPE_INSPECTIONMODE_REVIEW_WSI_USER, RECIPE_INSPECTIONMODE_REVIEW_USER, RECIPE_INSPECTIONMODE_REVIEW_WSI_MULTI_SHOT, RECIPE_INSPECTIONMODE_COUNT };
|
const CString strRecipeInspectionMode[RECIPE_INSPECTIONMODE_COUNT] = { _T("REFLOW"), _T("WSIREFLOW"), _T("REV&WSI"),_T("WSIUSER"),_T("USER"),_T("WSIMULTISHOT") };
|
|
|
|
// CDlgCommon ´ëÈ »óÀÚÀÔ´Ï´Ù.
|
|
class CDlgCommon : public CDialog
|
{
|
DECLARE_DYNAMIC(CDlgCommon)
|
|
public:
|
CDlgCommon(CWnd* pParent = NULL); // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
|
virtual ~CDlgCommon();
|
|
public:
|
void InitPlanInfoGridControl();
|
void FillPlanInfo();
|
|
void InitLightInfoGridControl();
|
void FillLightInfoInfo();
|
void InitAFMRecipeGridControl();
|
void FillAFMRecipeInfo();
|
void InitScheduleGridControl();
|
void FillScheduleInfo();
|
void InitScheduleRangeCntGridControl();
|
void FillScheduleRangeCntInfo();
|
|
void InitReflowParameterGridControl();
|
void FillReflowParameter();
|
void InitUserDefectInfoGridControl();
|
void FillUserDefectInfo();
|
|
void UpdateDialogData();
|
void UpdateSelectGlassSlot();
|
|
void OnSetMaster(BOOL bSetMaster, int dir, CPoint* reflowPoints);
|
|
public:
|
int m_nSelectPlanIdx;
|
int m_nLightCount;
|
int m_nAFMCount;
|
BOOL m_bSelectGlassSlot[TOTAL_GLASS_SLOT_COUNT];
|
CFontStatic* m_ctrlStaticGlassSlot[TOTAL_GLASS_SLOT_COUNT];
|
|
// ´ëÈ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
|
enum { IDD = IDD_DIALOG_REVIEW_RCP_EDITOR_COMMON };
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Áö¿øÀÔ´Ï´Ù.
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
CDlgReflowMasterImage m_MasterDlg[3];
|
CDlgReflowMasterImage m_ImageDlg;
|
|
afx_msg void OnBnClickedButtonLoadMaster();
|
|
|
|
afx_msg void OnBnClickedButtonRcpReviewReset();
|
afx_msg void OnBnClickedButtonRcpReviewApply();
|
afx_msg void OnGlassSlotClick(UINT nID);
|
virtual BOOL OnInitDialog();
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
afx_msg void OnEnChangeEditRcpReviewPlanCount();
|
afx_msg void OnEnChangeEditRcpReviewUserDefectCount();
|
afx_msg void OnPlanInfoGridClick(NMHDR *pNotifyStruct, LRESULT* pResult);
|
afx_msg void OnSelChange(NMHDR *pNotifyStruct, LRESULT* pResult);
|
afx_msg void OnClickImageInfo(NMHDR *pNotifyStruct, LRESULT* pResult);
|
afx_msg void OnUserPitch(int xpos, int xpitch, int xcount, int ypos, int ypitch, int ycount,int dir, int mode);
|
|
int m_nPlanCount;
|
int m_nUserDefectCount;
|
CComboBox m_ctrlComboGlassType;
|
CButton m_ctrlAutoLight;
|
|
CGridCtrl m_ctrlGridPlanInfo;
|
|
CGridCtrl m_ctrlGridLightInfo;
|
CGridCtrl m_ctrlGridAFMRecipeInfo;
|
CGridCtrl m_ctrlGridReflowParameter;
|
CGridCtrl m_ctrlGridUserDefectInfo;
|
CGridCtrl m_ctrlGridScheduleInfo;
|
CGridCtrl m_ctrlGridScheduleRangeCntInfo;
|
|
CFontStatic m_ctrlStaticGlassSlot_01;
|
CFontStatic m_ctrlStaticGlassSlot_02;
|
CFontStatic m_ctrlStaticGlassSlot_03;
|
CFontStatic m_ctrlStaticGlassSlot_04;
|
CFontStatic m_ctrlStaticGlassSlot_05;
|
CFontStatic m_ctrlStaticGlassSlot_06;
|
CFontStatic m_ctrlStaticGlassSlot_07;
|
CFontStatic m_ctrlStaticGlassSlot_08;
|
CFontStatic m_ctrlStaticGlassSlot_09;
|
CFontStatic m_ctrlStaticGlassSlot_10;
|
CFontStatic m_ctrlStaticGlassSlot_11;
|
CFontStatic m_ctrlStaticGlassSlot_12;
|
CFontStatic m_ctrlStaticGlassSlot_13;
|
CFontStatic m_ctrlStaticGlassSlot_14;
|
CFontStatic m_ctrlStaticGlassSlot_15;
|
CFontStatic m_ctrlStaticGlassSlot_16;
|
CFontStatic m_ctrlStaticGlassSlot_17;
|
CFontStatic m_ctrlStaticGlassSlot_18;
|
CFontStatic m_ctrlStaticGlassSlot_19;
|
CFontStatic m_ctrlStaticGlassSlot_20;
|
CFontStatic m_ctrlStaticGlassSlot_21;
|
CFontStatic m_ctrlStaticGlassSlot_22;
|
CFontStatic m_ctrlStaticGlassSlot_23;
|
CFontStatic m_ctrlStaticGlassSlot_24;
|
CFontStatic m_ctrlStaticGlassSlot_25;
|
CFontStatic m_ctrlStaticGlassSlot_26;
|
CFontStatic m_ctrlStaticGlassSlot_27;
|
CFontStatic m_ctrlStaticGlassSlot_28;
|
CFontStatic m_ctrlStaticGlassSlot_ALL_Select;
|
CFontStatic m_ctrlStaticGlassSlot_ALL_Deselect;
|
|
CButton m_ctrlCheckTopReview;
|
afx_msg void OnBnClickedButtonUserPitchInput();
|
CComboBox m_ctrlComboGlassOrigin;
|
afx_msg void OnBnClickedButton4();
|
int m_nReflowPixelScale;
|
int m_EditControl_GantryPathUse;
|
};
|