SDC C-Project CF Review 프로그램
LYW
2021-08-17 572aebd50409d2f11183d6ebbb9d12fe9041e7a5
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
#pragma once
#include "CHCommonControls/GridCtrl.h"
#include "CHCommonControls/GridCellCombo.h"
#include "CHCommonControls/GridCellCheck.h"
 
enum GANTRY_TYPE { GANTRY_TYPE_LEFT = 0, GANTRY_TYPE_RIGHT, GANTRY_TYPE_SINGLE, GANTRY_TYPE_COUNT };
#define SYSTEM_GANTRY_INFO_GRID_ROW_COUNT 4
#define SYSTEM_GANTRY_INFO_GRID_COL_COUNT 2
 
// CDlgSystemGantry ´ëÈ­ »óÀÚÀÔ´Ï´Ù.
 
class CDlgSystemGantry : public CDialog
{
    DECLARE_DYNAMIC(CDlgSystemGantry)
 
public:
    CDlgSystemGantry(CWnd* pParent = NULL);   // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
    virtual ~CDlgSystemGantry();
 
// ´ëÈ­ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
    enum { IDD = IDD_DIALOG_SYS_SETTING_SYSTEM_GANTRY };
 
public:
    void InitGantryInfoGridControl();
    void FillGantryInfo();
    void UpdateDialogData(int nGantryIdx, int nHeaderIdx);
 
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV Áö¿øÀÔ´Ï´Ù.
 
    DECLARE_MESSAGE_MAP()
public:
    virtual BOOL OnInitDialog();
    virtual BOOL PreTranslateMessage(MSG* pMsg);
    afx_msg void OnBnClickedButtonSysSystemGantryReset();
    afx_msg void OnBnClickedButtonSysSystemGantryApply();
    CGridCtrl m_ctrlGridGantryInfo;
    int m_nGantryIdx;
    int m_nHeaderIdx;
};