?? serverstatus.h
字號:
//**************************************************************************
// Description: Dialog to display OPC server status.
// A timer updates the status while the dialog is alive.
//**************************************************************************
#ifndef _SERVERSTATUS
#define _SERVERSTATUS
class CServerStatus : public CDialog
{
// Construction
public:
CServerStatus(OPCServer& newServer, CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CServerStatus)
enum { IDD = IDD_STATUS };
CString m_current;
DWORD m_groups;
DWORD m_bandwidth;
CString m_last;
CString m_start;
CString m_status;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CServerStatus)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void Update();
OPCServer opcServer;
// Generated message map functions
//{{AFX_MSG(CServerStatus)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -