#pragma once
|
#include "afxdialogex.h"
|
|
|
// CDeviceRecipeParamDlg 对话框
|
|
class CDeviceRecipeParamDlg : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CDeviceRecipeParamDlg)
|
|
public:
|
CDeviceRecipeParamDlg(CWnd* pParent = nullptr); // 标准构造函数
|
virtual ~CDeviceRecipeParamDlg();
|
|
void setEquipment(SERVO::CEquipment* pEquipment);
|
void setDeviceRecipeID(int nDeviceRecipeID);
|
void setDeviceRecipeName(const CString& strDeviceRecipeName);
|
|
// 对话框数据
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_DIALOG_DEVICE_RECIPE_PARAM };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
virtual BOOL OnInitDialog();
|
DECLARE_MESSAGE_MAP()
|
|
private:
|
int m_nDeviceRecipeID;
|
CString m_strDeviceRecipeName;
|
SERVO::CEquipment* m_pEquipment;
|
CListCtrl m_wndRecipeParamList;
|
};
|