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

📄 conductortableset.cpp

📁 使用RFID的一个监控程序
💻 CPP
字号:
// ConductorTableSet.cpp : implementation file
//

#include "stdafx.h"
#include "ConductorTableSet.h"
#include "ElecTicketCardSys.h"

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

/////////////////////////////////////////////////////////////////////////////
// CConductorTableSet
extern CElecTicketCardSysApp theApp;

IMPLEMENT_DYNAMIC(CConductorTableSet, CDaoRecordset)

CConductorTableSet::CConductorTableSet(CDaoDatabase* pdb)
	: CDaoRecordset(pdb)
{
	//{{AFX_FIELD_INIT(CConductorTableSet)
	m_cardsale_id = 0;
	m_cardsale_site = _T("");
	m_cardsale_type = 0;
	m_cardsale_admin = _T("");
	m_cardsale_info = _T("");
	m_nFields = 5;
	//}}AFX_FIELD_INIT
	m_nDefaultType = dbOpenDynaset;
}


CString CConductorTableSet::GetDefaultDBName()
{
	return theApp.m_strDbName;
}

CString CConductorTableSet::GetDefaultSQL()
{
	return _T("[CardSale]");
}

void CConductorTableSet::DoFieldExchange(CDaoFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CConductorTableSet)
	pFX->SetFieldType(CDaoFieldExchange::outputColumn);
	DFX_Long(pFX, _T("[cardsale_id]"), m_cardsale_id);
	DFX_Text(pFX, _T("[cardsale_site]"), m_cardsale_site);
	DFX_Byte(pFX, _T("[cardsale_type]"), m_cardsale_type);
	DFX_Text(pFX, _T("[cardsale_admin]"), m_cardsale_admin);
	DFX_Text(pFX, _T("[cardsale_info]"), m_cardsale_info);
	//}}AFX_FIELD_MAP
}

/////////////////////////////////////////////////////////////////////////////
// CConductorTableSet diagnostics

#ifdef _DEBUG
void CConductorTableSet::AssertValid() const
{
	CDaoRecordset::AssertValid();
}

void CConductorTableSet::Dump(CDumpContext& dc) const
{
	CDaoRecordset::Dump(dc);
}
#endif //_DEBUG

⌨️ 快捷键说明

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