SDC C-Project CF Review 프로그램
LYW
2022-07-05 63439977901d54a01924ed76290931aeddbce66c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#pragma once
 
#include "CHCommonControls/GridCtrl.h"
#include "afxcmn.h"
#include "DlgSystemGantry.h"
#include "DlgSystemHeader.h"
#include "DlgSystemCamera.h"
#include "DlgSystemLight.h"
#include "DlgSystemRevolver.h"
#include "DlgSystemAFM.h"
#include "DlgSystemWSI.h"
#include "afxwin.h"
 
enum DIALOG_TAB { TAB_GANTRY_INFO = 0, TAB_HEADER_INFO, TAB_CAMERA_INFO, TAB_LIGHT_INFO, TAB_REVOLVER_INFO, TAB_AFM_INFO, TAB_WSI_INFO, DIALOG_TAB_COUNT };
 
#define SYSTEM_INFO_GRID_ROW_COUNT 1
#define SYSTEM_INFO_GRID_COL_COUNT 7
 
// CDlgSystem ´ëÈ­ »óÀÚÀÔ´Ï´Ù.
 
class CDlgSystem : public CDialog
{
    DECLARE_DYNAMIC(CDlgSystem)
 
public:
    CDlgSystem(CWnd* pParent = NULL);   // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
    virtual ~CDlgSystem();
 
// ´ëÈ­ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
    enum { IDD = IDD_DIALOG_SYS_SETTING_SYSTEM };
 
public:
    void InitSystemInfoGridControl();
    void FillSystemInfo();
    void CreateTabDlg();
    void InitTabControl();
    CDlgSystemCamera*    GetDlgSystemCamera() {return m_pDlgSystemCamera;};
 
public:
    CDlgSystemGantry*    m_pDlgSystemGantry;
    CDlgSystemHeader*    m_pDlgSystemHeader;
    CDlgSystemCamera*    m_pDlgSystemCamera;
    CDlgSystemLight*    m_pDlgSystemLight;
    CDlgSystemRevolver*    m_pDlgSystemRevolver;
    CDlgSystemAFM*        m_pDlgSystemAFM;
    CDlgSystemWSI*        m_pDlgSystemWSI;
 
 
    int m_nGantryCount;
    int m_nHeaderCount;
    int m_nCameraCount;
    int m_nLightCount;
    int m_nRevolverCount;
    int m_nAFMCount;
    int    m_nWSICount;
 
 
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV Áö¿øÀÔ´Ï´Ù.
 
    DECLARE_MESSAGE_MAP()
public:
    virtual BOOL OnInitDialog();
    
    BOOL InitMachineType(int nLineType);
    BOOL InitMonitorPosition(int nMonitorPosition);            // [2017:1:13]-[WEZASW] : ´ÙÁß ¸ð´ÏÅÍ¿¡¼­ÀÇ ReviewSystem Display
    virtual BOOL PreTranslateMessage(MSG* pMsg);
    afx_msg void OnBnClickedButtonSysSystemReset();
    afx_msg void OnBnClickedButtonSysSystemApply();
    afx_msg void OnEnChangeEditSysSystemGantryCount();
    afx_msg void OnEnChangeEditSysSystemHeaderCount();
    afx_msg void OnEnChangeEditSysSystemCameraCount();
    afx_msg void OnEnChangeEditSysSystemLightCount();
    afx_msg void OnCbnSelchangeComboLineType();
 
    afx_msg void OnTcnSelchangeTabSysSystemTab(NMHDR *pNMHDR, LRESULT *pResult);
    afx_msg void OnGridDblClick(NMHDR *pNotifyStruct, LRESULT* pResult);
 
    CGridCtrl m_ctrlGridSystemInfo;
    CTabCtrl m_ctrlTabSystem;
 
    BOOL m_bUseVisionAlign;
    BOOL m_bLongRun;
    int m_nLongRunCount;
    double m_dCollisionDistance;
    CComboBox m_ctrlLineType;
    CComboBox m_ctrlMachineType;
    CComboBox m_ctrlMonotorPosition;
    CString m_strEqpID;
};