⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vcopcclientview.h

📁 opc 源码 opc 源码
💻 H
字号:
// VCOPCClientView.h : interface of the CVCOPCClientView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_VCOPCCLIENTVIEW_H__3B2940C9_DCE0_4CC5_A551_121EFC861A99__INCLUDED_)
#define AFX_VCOPCCLIENTVIEW_H__3B2940C9_DCE0_4CC5_A551_121EFC861A99__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "VCOPCClientDoc.h"

class CVCOPCClientView : public CListView
{
protected: // create from serialization only
	CVCOPCClientView();
	DECLARE_DYNCREATE(CVCOPCClientView)

// Attributes
public:
	CVCOPCClientDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CVCOPCClientView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CVCOPCClientView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CVCOPCClientView)
	afx_msg void OnFileConnect();
	afx_msg void OnFileDisconnect();
	afx_msg void OnFileMgroup();
	afx_msg void OnFileMtag();
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	//}}AFX_MSG
	void OnActive();
	void OnDeactive();
	void OnWriteItem();
	void OnProperty();
	void OnUpdateUI(CCmdUI* pCmdUI);
DECLARE_MESSAGE_MAP()
public:
	vector<CConnection*> m_Connections;
	CConnection* GetConnection(CString& strConn);
	void AddTagtoList(CConnection* pConn, CGroup* pGroup, CString& strItemID);
};

#ifndef _DEBUG  // debug version in VCOPCClientView.cpp
inline CVCOPCClientDoc* CVCOPCClientView::GetDocument()
   { return (CVCOPCClientDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VCOPCCLIENTVIEW_H__3B2940C9_DCE0_4CC5_A551_121EFC861A99__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -