channelinfo.cpp

来自「数码管控件」· C++ 代码 · 共 38 行

CPP
38
字号
// ChannelInfo.cpp: implementation of the CChannelInfo class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"

#include "ChannelInfo.h"

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

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

CChannelInfo::CChannelInfo()
{

	m_ChannelID = 0;
	m_Equipment = "";
	m_CurrentValue = 0.0;
	m_ValueTime = COleDateTime();
	m_AlarmLevel = 0;
	m_AlarmTime = COleDateTime();
	m_ConfirmOp = "";
	m_ConfirmTime = COleDateTime();
	m_ChannelType = 0;
	m_ErrorString = "Invalidation Value";
}

CChannelInfo::~CChannelInfo()
{

}

⌨️ 快捷键说明

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