#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;
|
};
|