?? tyopcclientdoc.h
字號:
#if !defined(AFX_TYOPCCLIENTDOC_H__009AFD80_2911_4BA5_8488_AD59D65C2EB6__INCLUDED_)
#define AFX_TYOPCCLIENTDOC_H__009AFD80_2911_4BA5_8488_AD59D65C2EB6__INCLUDED_
#include "OPCData.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TYOPCClientDoc.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTYOPCClientDoc document
class CTYOPCClientDoc : public CDocument
{
protected:
CTYOPCClientDoc(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CTYOPCClientDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTYOPCClientDoc)
public:
virtual void OnFinalRelease();
virtual void Serialize(CArchive& ar); // overridden for document i/o
protected:
virtual BOOL OnNewDocument();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTYOPCClientDoc();
//
void SetSelOPC(COPCRemoteMachine* pOPCRM,COPCServer *pOPCServer,COPCGroup* pOPCGroup);
void SetSelOPCItem(CStringArray& strSelOPCItem);
DWORD GetSelBranch();
void SetSelBranch(DWORD dwSelBranch);
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CTYOPCClientDoc)
afx_msg void OnOPCRemPCAdd();
afx_msg void OnOPCRemPCDel();
afx_msg void OnOPCServerAdd();
afx_msg void OnOPCServerDel();
afx_msg void OnOPCServerProperty();
afx_msg void OnOPCServerConnect();
afx_msg void OnOPCGroupAdd();
afx_msg void OnOPCGroupDel();
afx_msg void OnOPCItemAdd();
afx_msg void OnOPCItemDel();
afx_msg void OnOPCItemAsync20Read();
afx_msg void OnOPCItemAsync20RefreshCache();
afx_msg void OnOPCItemAsync20RefreshDevice();
afx_msg void OnOPCItemAsync20Write();
afx_msg void OnOPCItemSetActive();
afx_msg void OnOPCItemSetInactive();
afx_msg void OnUpdateCmdUI(CCmdUI* pCmdUI);
afx_msg void OnOPCGroupProperty();
afx_msg void OnFilePrint();
afx_msg void OnAutoOpenFile();
afx_msg void OnUpdateAutoOpenFile(CCmdUI* pCmdUI);
afx_msg void OnOPCRemPCProperty();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CTYOPCClientDoc)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
DECLARE_INTERFACE_MAP()
public:
void LoadDocument();
COPCManagement m_cOPCMgt;
protected:
DWORD m_dwSelBranch; //當前選擇層
//OPCITEM------------------------------------------------
CStringArray m_strSelOPCItem;
//
BOOL m_bAutoOpenFile; //啟動時自動加載文件
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TYOPCCLIENTDOC_H__009AFD80_2911_4BA5_8488_AD59D65C2EB6__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -