#pragma once
|
#include "afxdialogex.h"
|
#include "GlassRecipe.h"
|
|
// CDlgCoordinateConvert 对话框
|
|
class CDlgCoordinateConvert : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CDlgCoordinateConvert)
|
|
public:
|
CDlgCoordinateConvert(CWnd* pParent = nullptr); // 标准构造函数
|
virtual ~CDlgCoordinateConvert();
|
|
// 设置配方
|
void SetRecipe(CGlassRecipe* pRecipe);
|
|
// 对话框数据
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_DLG_COORD_CONVERT };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
virtual BOOL OnInitDialog();
|
afx_msg void OnClickBtnConvertApply();
|
afx_msg void OnClickBtnConvertClose();
|
DECLARE_MESSAGE_MAP()
|
DECLARE_EVENTSINK_MAP()
|
|
private:
|
void InitCameraGrid();
|
void InitCameraGridHeader();
|
void FillCameraGrid();
|
|
int m_nCameraCount;
|
int m_nScanCount;
|
CGridCtrl m_gridCameraList;
|
CGlassRecipe* m_pDlgRecipe;
|
};
|