資源簡(jiǎn)介
基于VC++的 IEC60870-103 電力規(guī)約 源碼 已經(jīng)通過編譯測(cè)試,實(shí)現(xiàn)了基礎(chǔ)功能,可供相關(guān)開發(fā)工作參考

代碼片段和文件信息
//?IEC103.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“IEC103.h“
#include?“IEC103Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CIEC103App
BEGIN_MESSAGE_MAP(CIEC103App?CWinApp)
//{{AFX_MSG_MAP(CIEC103App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CIEC103App?construction
CIEC103App::CIEC103App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CIEC103App?object
CIEC103App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CIEC103App?initialization
BOOL?CIEC103App::InitInstance()
{
if?(?!AfxInitRichEdit()?)
{
return?FALSE;
}
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
CIEC103Dlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????188442??2007-04-02?13:25??60870-103\12.txt
?????文件??????35168??2007-04-09?16:56??60870-103\IEC103.APS
?????文件???????1458??2007-04-09?18:54??60870-103\IEC103.clw
?????文件???????2116??2007-04-02?14:26??60870-103\IEC103.cpp
?????文件???????4686??2007-04-09?12:41??60870-103\IEC103.dsp
?????文件????????537??2007-04-02?13:24??60870-103\IEC103.dsw
?????文件???????1324??2007-04-02?13:24??60870-103\IEC103.h
?????文件??????91136??2007-04-09?18:54??60870-103\IEC103.ncb
?????文件?????214016??2007-04-09?18:54??60870-103\IEC103.opt
?????文件???????5378??2007-04-09?16:56??60870-103\IEC103.rc
?????文件??????20192??2007-04-09?17:26??60870-103\IEC103Dlg.cpp
?????文件???????8866??2007-04-09?17:00??60870-103\IEC103Dlg.h
?????文件???????1983??2007-04-09?12:44??60870-103\IEC103ProtectEx.cpp
?????文件???????1319??2007-04-09?13:00??60870-103\IEC103ProtectEx.h
?????文件???????2868??2007-03-25?19:20??60870-103\ListCtrlEx.cpp
?????文件???????1333??2007-03-13?21:08??60870-103\ListCtrlEx.h
?????文件??????????0??2007-04-09?12:48??60870-103\MVC266.tmp
?????文件???????3579??2007-04-02?13:24??60870-103\ReadMe.txt
?????文件???????1078??2007-04-02?13:24??60870-103\res\IEC103.ico
?????文件????????398??2007-04-02?13:24??60870-103\res\IEC103.rc2
?????文件????????867??2007-04-09?16:56??60870-103\resource.h
?????文件???????2754??2007-04-04?10:10??60870-103\RichEditEx.cpp
?????文件???????1660??2007-04-06?15:06??60870-103\RichEditEx.h
?????文件???????2765??2007-04-04?12:13??60870-103\Serial.cpp
?????文件????????842??2007-04-04?10:21??60870-103\Serial.h
?????文件????????208??2007-04-02?13:24??60870-103\StdAfx.cpp
?????文件???????1054??2007-04-02?13:24??60870-103\StdAfx.h
?????目錄??????????0??2007-04-09?19:07??60870-103\Debug
?????目錄??????????0??2007-04-09?19:07??60870-103\Release
?????目錄??????????0??2007-04-02?13:24??60870-103\res
............此處省略4個(gè)文件信息
評(píng)論
共有 條評(píng)論