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

📄 daopayproperty.cpp

📁 网吧管理系统VC源码
💻 CPP
字号:
// DaoPayProperty.cpp : implementation file
//

#include "stdafx.h"
#include "Server.h"
#include "DaoPayProperty.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDaoPayProperty

IMPLEMENT_DYNAMIC(CDaoPayProperty, CDaoRecordset)

CDaoPayProperty::CDaoPayProperty(CDaoDatabase* pdb)
	: CDaoRecordset(pdb)
{
	//{{AFX_FIELD_INIT(CDaoPayProperty)
	m_Normal_Morning = 0.0f;
	m_Normal_Afternoon = 0.0f;
	m_Normal_Allnight = 0.0f;
	m_Leaguer_Morning = 0.0f;
	m_Leaguer_Afternoon = 0.0f;
	m_Leaguer_Allnight = 0.0f;
	m_MiniCell = 0;
	m_MiniSecond = 0;
	m_Morning1 = (DATE)0;
	m_Morning2 = (DATE)0;;
	m_Afternoon1 = (DATE)0;
	m_Afternoon2 = (DATE)0;
	m_Allnight1 = (DATE)0;
	m_Allnight2 = (DATE)0;

	m_nFields = 14;
	
	//}}AFX_FIELD_INIT
	m_nDefaultType = dbOpenDynaset;
}


CString CDaoPayProperty::GetDefaultDBName()
{
	return _T("db1.mdb");
}

CString CDaoPayProperty::GetDefaultSQL()
{
	return _T("[payproperty]");
}

void CDaoPayProperty::DoFieldExchange(CDaoFieldExchange* pFX)
{
	//{{AFX_FIELD_MAP(CDaoPayProperty)
	pFX->SetFieldType(CDaoFieldExchange::outputColumn);
	DFX_Single(pFX, _T("[Normal_Morning]"), m_Normal_Morning);
	DFX_Single(pFX, _T("[Normal_Afternoon]"), m_Normal_Afternoon);
	DFX_Single(pFX, _T("[Normal_Allnight]"), m_Normal_Allnight);
	DFX_Single(pFX, _T("[Leaguer_Morning]"), m_Leaguer_Morning);
	DFX_Single(pFX, _T("[Leaguer_Afternoon]"), m_Leaguer_Afternoon);
	DFX_Single(pFX, _T("[Leaguer_Allnight]"), m_Leaguer_Allnight);
	DFX_Long(pFX, _T("[MiniCell]"), m_MiniCell);
	DFX_Long(pFX, _T("[MiniSecond]"), m_MiniSecond);
	
	DFX_DateTime(pFX, _T("[Morning1]"), m_Morning1);
	DFX_DateTime(pFX, _T("[Morning2]"), m_Morning2);
	DFX_DateTime(pFX, _T("[Afternoon1]"), m_Afternoon1);
	DFX_DateTime(pFX, _T("[Afternoon2]"), m_Afternoon2);
	DFX_DateTime(pFX, _T("[Allnight1]"), m_Allnight1);
	DFX_DateTime(pFX, _T("[Allnight2]"), m_Allnight2);

	//}}AFX_FIELD_MAP
}

/////////////////////////////////////////////////////////////////////////////
// CDaoPayProperty diagnostics

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

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

⌨️ 快捷键说明

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