?? tyopcclientdoc0.h
字號:
// TYOPCClientDoc.h : interface of the CTYOPCClientDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TYOPCCLIENTDOC_H__129CE189_CBCB_4C93_8348_81EC36BAF533__INCLUDED_)
#define AFX_TYOPCCLIENTDOC_H__129CE189_CBCB_4C93_8348_81EC36BAF533__INCLUDED_
#include "OPCData.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTYOPCClientDoc : public CDocument
{
protected: // create from serialization only
CTYOPCClientDoc();
DECLARE_DYNCREATE(CTYOPCClientDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CClientDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}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
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CClientDoc)
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
DECLARE_MESSAGE_MAP()
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CClientDoc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
DECLARE_INTERFACE_MAP()
public:
void LoadDocument();
COPCManagement m_cOPCMgt;
protected:
DWORD m_dwSelBranch; //當(dāng)前選擇層
//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__129CE189_CBCB_4C93_8348_81EC36BAF533__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -