SDC C-Project CF Review 프로그램
LYW
2021-08-17 67bcdefa0aae33fcf16333967744a9aafcaf9433
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
#pragma once
#include "CHCommonControls/GridCtrl.h"
 
 
// CDlgSystemLight ´ëÈ­ »óÀÚÀÔ´Ï´Ù.
 
#define  LIGHT_INFO_GRID_ROW_COUNT 9
 
class CDlgSystemLight : public CDialog
{
    DECLARE_DYNAMIC(CDlgSystemLight)
 
public:
    CDlgSystemLight(CWnd* pParent = NULL);   // Ç¥ÁØ »ý¼ºÀÚÀÔ´Ï´Ù.
    virtual ~CDlgSystemLight();
 
// ´ëÈ­ »óÀÚ µ¥ÀÌÅÍÀÔ´Ï´Ù.
    enum { IDD = IDD_DIALOG_SYS_SETTING_SYSTEM_LIGHT };
 
public:
    void InitLightInfoGridControl();
    void FillLightInfo();
    void ResetLightInfoGrid();
    void ChangeLightCountLightInfoGridControl();
    void UpdateDialogData(int nGantryIdx, int nHeaderIdx, int nLightCount);
 
public:
 
 
protected:
    virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV Áö¿øÀÔ´Ï´Ù.
 
    DECLARE_MESSAGE_MAP()
public:
    virtual BOOL OnInitDialog();
    virtual BOOL PreTranslateMessage(MSG* pMsg);
    afx_msg void OnBnClickedButtonSysSystemLightReset();
    afx_msg void OnBnClickedButtonSysSystemLightApply();
    CGridCtrl m_ctrlGridLightInfo;
    
    int m_nGantryIdx;
    int m_nHeaderIdx;
    int m_nLightCount;
};