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

📄 item.cpp

📁 modbus编程
💻 CPP
字号:
#include "stdafx.h"
#include "Item.h"

#include "opcda.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

IMPLEMENT_DYNCREATE(CItem, CObject)

CItem::CItem()
{
	hItem = NULL;
 	VariantInit(&Value);
	Quality = OPC_QUALITY_UNCERTAIN;
	Name.Empty();
	CoFileTimeNow(&TimeStamp);

	Active = TRUE;
	Writable = FALSE;
}

CItem::~CItem()
{
	VariantClear(&Value);
}

⌨️ 快捷键说明

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