資源簡介
DLT645抄表原碼(VC),很好的代碼,如果想做電度表開發的,這是不錯的選 擇

代碼片段和文件信息
//?Comm.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Comm.h“
#include?“CommDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCommApp
BEGIN_MESSAGE_MAP(CCommApp?CWinApp)
//{{AFX_MSG_MAP(CCommApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CCommApp?construction
CCommApp::CCommApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCommApp?object
CCommApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCommApp?initialization
BOOL?CCommApp::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
CCommDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????36048??2009-09-15?11:28??Comm\Comm.aps
?????文件???????1280??2009-10-15?16:14??Comm\Comm.clw
?????文件???????2035??2009-08-20?09:44??Comm\Comm.cpp
?????文件???????4189??2009-09-03?20:41??Comm\Comm.dsp
?????文件????????533??2009-08-20?09:44??Comm\Comm.dsw
?????文件???????1302??2009-08-20?09:44??Comm\Comm.h
?????文件??????82944??2009-10-15?16:14??Comm\Comm.ncb
?????文件??????53760??2009-10-15?16:14??Comm\Comm.opt
?????文件???????1503??2009-09-18?11:06??Comm\Comm.plg
?????文件???????6356??2009-09-15?11:28??Comm\Comm.rc
?????文件????????872??2009-09-03?19:45??Comm\Comm.sln
????..A..H.?????11264??2009-09-03?19:47??Comm\Comm.suo
?????文件???????7326??2009-09-03?19:45??Comm\Comm.vcproj
?????文件???????1427??2009-09-03?19:47??Comm\Comm.vcproj.C6EBA94F959C4A2.Administrator.user
?????文件??????15930??2009-09-15?11:26??Comm\CommDlg.cpp
?????文件???????2088??2009-09-05?09:34??Comm\CommDlg.h
?????文件??????11232??2009-08-28?21:33??Comm\commondialog.cpp
?????文件???????3682??2009-08-28?21:33??Comm\commondialog.h
?????文件???????8569??2009-08-20?11:04??Comm\mscomm.cpp
?????文件???????2796??2009-08-20?11:04??Comm\mscomm.h
?????文件???????8570??2009-08-28?21:33??Comm\mscomm1.cpp
?????文件???????3224??2009-08-28?21:33??Comm\mscomm1.h
?????文件??????16517??2009-08-22?14:33??Comm\onComm.h
?????文件???????3543??2009-08-20?09:44??Comm\ReadMe.txt
?????文件????????396??2009-08-20?09:44??Comm\res\Comm.rc2
?????文件????????958??2009-09-04?16:57??Comm\Resource.h
?????文件????????206??2009-08-20?09:44??Comm\StdAfx.cpp
?????文件???????1054??2009-08-20?09:44??Comm\StdAfx.h
?????目錄??????????0??2010-06-05?09:01??Comm\res
?????目錄??????????0??2010-07-01?12:45??Comm
............此處省略3個文件信息
- 上一篇:ADS完整建立電感模型以及變壓器模型
- 下一篇:銑床夾具 裝配圖
評論
共有 條評論