資源簡介
本工具模擬POS機(jī)實(shí)現(xiàn),充值,消費(fèi),復(fù)合消費(fèi)等測試流程

代碼片段和文件信息
//?CPUTest.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CPUTest.h“
#include?“CPUTestDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCPUTestApp
BEGIN_MESSAGE_MAP(CCPUTestApp?CWinApp)
//{{AFX_MSG_MAP(CCPUTestApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CCPUTestApp?construction
CCPUTestApp::CCPUTestApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCPUTestApp?object
CCPUTestApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCPUTestApp?initialization
BOOL?CCPUTestApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CCPUTestDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄??????????0??2013-07-18?14:29??模擬POS機(jī)程序代碼
?????文件?????????53??2010-07-21?13:22??模擬POS機(jī)程序代碼\config.ini
?????文件?????????53??2010-07-13?15:20??模擬POS機(jī)程序代碼\config.ini.bak
?????文件??????22988??2013-06-06?13:21??模擬POS機(jī)程序代碼\CPUTest.aps
?????文件???????1827??2013-07-18?14:25??模擬POS機(jī)程序代碼\CPUTest.clw
?????文件???????2077??2009-11-13?17:13??模擬POS機(jī)程序代碼\CPUTest.cpp
?????文件???????4744??2010-07-16?11:29??模擬POS機(jī)程序代碼\CPUTest.dsp
?????文件????????537??2009-11-13?17:13??模擬POS機(jī)程序代碼\CPUTest.dsw
?????文件???????1335??2009-11-13?17:13??模擬POS機(jī)程序代碼\CPUTest.h
?????文件?????328704??2013-07-18?14:25??模擬POS機(jī)程序代碼\CPUTest.ncb
?????文件?????440832??2013-07-18?14:25??模擬POS機(jī)程序代碼\CPUTest.opt
?????文件???????2184??2010-10-14?15:04??模擬POS機(jī)程序代碼\CPUTest.plg
?????文件???????6499??2010-01-04?14:56??模擬POS機(jī)程序代碼\CPUTest.rc
?????文件??????53055??2010-11-18?08:37??模擬POS機(jī)程序代碼\CPUTestDlg.cpp
?????文件???????1797??2009-12-03?14:59??模擬POS機(jī)程序代碼\CPUTestDlg.h
?????文件??????14016??2009-11-17?15:06??模擬POS機(jī)程序代碼\DES.cpp
?????文件???????1374??2009-11-24?15:29??模擬POS機(jī)程序代碼\DES.h
?????文件???????9995??2013-06-06?16:50??模擬POS機(jī)程序代碼\FeeCard.cpp
?????文件???????1417??2010-01-05?16:55??模擬POS機(jī)程序代碼\FeeCard.h
?????文件???????8914??2013-06-06?15:03??模擬POS機(jī)程序代碼\PBOC.CPP
?????文件???????3322??2009-08-10?15:34??模擬POS機(jī)程序代碼\pboc.h
?????文件???????3020??2009-11-18?18:05??模擬POS機(jī)程序代碼\PCSCReader.cpp
?????文件???????1028??2009-11-18?15:18??模擬POS機(jī)程序代碼\PCSCReader.h
?????文件???????3597??2009-11-13?17:13??模擬POS機(jī)程序代碼\ReadMe.txt
?????目錄??????????0??2010-07-16?11:37??模擬POS機(jī)程序代碼\res
?????文件???????1078??2009-11-13?17:13??模擬POS機(jī)程序代碼\res\CPUTest.ico
?????文件????????399??2009-11-13?17:13??模擬POS機(jī)程序代碼\res\CPUTest.rc2
?????文件????????326??2010-01-04?14:56??模擬POS機(jī)程序代碼\res\cursor1.cur
?????文件???????1834??2010-01-04?14:56??模擬POS機(jī)程序代碼\Resource.h
?????文件????????209??2009-11-13?17:13??模擬POS機(jī)程序代碼\StdAfx.cpp
............此處省略7個文件信息
評論
共有 條評論