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

📄 superopcview.h

📁 VC 编写的OPC客户端
💻 H
字号:
// SuperOPCView.h : CSuperOPCView 类的接口
//


#pragma once
#define DEFAULTGROUPNAME _T("组0")
class CHotOpcServer;
class CHotOpcGroup;
class CHotOpcItem;
class CSuperOPCView : public CListView
{
protected: // 仅从序列化创建
	CSuperOPCView();
	BOOL m_bCreateColumn;
	DECLARE_DYNCREATE(CSuperOPCView)

// 属性
public:
	CSuperOPCDoc* GetDocument() const;

// 操作
public:

// 重写
	public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual void OnInitialUpdate(); // 构造后第一次调用
	afx_msg void OnUpdateCmdUI (CCmdUI *pCmdUI);

// 实现
public:
	virtual ~CSuperOPCView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// 生成的消息映射函数
protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnConnServer();
	CHotOpcServer *m_pServer;
	CHotOpcGroup  *m_pGroup;
	CHotOpcItem	  *m_pItem;
	afx_msg void OnClose();
	afx_msg void OnDisconnect();
	afx_msg void OnReconnect();
	afx_msg void OnNewgroup();
	afx_msg void OnTest();
	afx_msg void OnNewitem();
	afx_msg void OnTimer(UINT nIDEvent);
};

#ifndef _DEBUG  // SuperOPCView.cpp 的调试版本
inline CSuperOPCDoc* CSuperOPCView::GetDocument() const
   { return reinterpret_cast<CSuperOPCDoc*>(m_pDocument); }
#endif

⌨️ 快捷键说明

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