#pragma once
|
#include "ApredTreeCtrl.h"
|
|
|
// CPagePlcList ¶Ô»°¿ò
|
|
class CPagePlcList : public CDialogEx
|
{
|
DECLARE_DYNAMIC(CPagePlcList)
|
|
public:
|
CPagePlcList(CWnd* pParent = NULL); // ±ê×¼¹¹Ô캯Êý
|
virtual ~CPagePlcList();
|
|
|
private:
|
void InitRxWindows();
|
void ReadPLCList();
|
HTREEITEM FindItem(CPLC* pPlc);
|
|
|
private:
|
IObserver* m_pObserver;
|
CApredTreeCtrl m_treeCtrl;
|
COLORREF m_crBkgnd;
|
HBRUSH m_hbrBkgnd;
|
CFont m_fontNoPlc;
|
|
|
// ¶Ô»°¿òÊý¾Ý
|
#ifdef AFX_DESIGN_TIME
|
enum { IDD = IDD_PAGE_PLC_LIST };
|
#endif
|
|
protected:
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV Ö§³Ö
|
|
DECLARE_MESSAGE_MAP()
|
public:
|
virtual BOOL OnInitDialog();
|
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
|
afx_msg void OnDestroy();
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
};
|