countpoint.cpp
来自「串口应变采集系统」· C++ 代码 · 共 59 行
CPP
59 行
// CountPoint.cpp : implementation file
//
#include "stdafx.h"
#include "Atmeasure.h"
#include "CountPoint.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCountPoint
IMPLEMENT_DYNAMIC(CCountPoint, CRecordset)
CCountPoint::CCountPoint(CDatabase* pdb)
: CRecordset(pdb)
{
//{{AFX_FIELD_INIT(CCountPoint)
//}}AFX_FIELD_INIT
m_nDefaultType = snapshot;
}
CString CCountPoint::GetDefaultConnect()
{
return _T("ODBC;DSN=dbat");
}
CString CCountPoint::GetDefaultSQL()
{
return _T("");
}
void CCountPoint::DoFieldExchange(CFieldExchange* pFX)
{
//{{AFX_FIELD_MAP(CCountPoint)
pFX->SetFieldType(CFieldExchange::outputColumn);
//}}AFX_FIELD_MAP
}
/////////////////////////////////////////////////////////////////////////////
// CCountPoint diagnostics
#ifdef _DEBUG
void CCountPoint::AssertValid() const
{
CRecordset::AssertValid();
}
void CCountPoint::Dump(CDumpContext& dc) const
{
CRecordset::Dump(dc);
}
#endif //_DEBUG
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?