-
大小: 101KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-05-23
- 語(yǔ)言: C/C++
- 標(biāo)簽:
資源簡(jiǎn)介
這個(gè)是運(yùn)動(dòng)控制卡的廠家單軸運(yùn)動(dòng)程序,希望對(duì)用到的有用。

代碼片段和文件信息
//?SingleAxisMov.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“SingleAxisMov.h“
#include?“SingleAxisMovDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CSingleAxisMovApp
BEGIN_MESSAGE_MAP(CSingleAxisMovApp?CWinApp)
//{{AFX_MSG_MAP(CSingleAxisMovApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CSingleAxisMovApp?construction
CSingleAxisMovApp::CSingleAxisMovApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CSingleAxisMovApp?object
CSingleAxisMovApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CSingleAxisMovApp?initialization
BOOL?CSingleAxisMovApp::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
CSingleAxisMovDlg?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í)間???名稱
-----------?---------??----------?-----??----
?????文件?????????59??2008-05-22?16:01??單軸運(yùn)動(dòng)\DemoReadMe.txt
?????文件?????????60??2008-05-22?16:01??單軸運(yùn)動(dòng)\DemoReadMe.txt.bak
?????文件??????81920??2006-06-21?15:37??單軸運(yùn)動(dòng)\gep.dll
?????文件???????5418??2006-06-21?15:37??單軸運(yùn)動(dòng)\GEP.H
?????文件??????24280??2006-06-21?15:37??單軸運(yùn)動(dòng)\gep.lib
?????文件??????81920??2006-06-21?13:45??單軸運(yùn)動(dòng)\GT400.dll
?????文件???????7212??2009-06-26?17:27??單軸運(yùn)動(dòng)\GT400.h
?????文件??????34746??2006-06-21?13:45??單軸運(yùn)動(dòng)\GT400.lib
?????文件???????3705??2008-05-22?15:17??單軸運(yùn)動(dòng)\ReadMe.txt
?????文件????????875??2009-07-03?10:25??單軸運(yùn)動(dòng)\resource.h
?????文件??????21500??2010-09-02?14:33??單軸運(yùn)動(dòng)\SingleAxisMov.aps
?????文件???????1563??2010-09-02?14:36??單軸運(yùn)動(dòng)\SingleAxisMov.clw
?????文件???????2161??2008-05-22?15:17??單軸運(yùn)動(dòng)\SingleAxisMov.cpp
?????文件???????4345??2008-05-22?15:46??單軸運(yùn)動(dòng)\SingleAxisMov.dsp
?????文件????????551??2008-05-22?15:46??單軸運(yùn)動(dòng)\SingleAxisMov.dsw
?????文件???????1401??2008-05-22?15:17??單軸運(yùn)動(dòng)\SingleAxisMov.h
?????文件???????3294??2010-09-02?14:33??單軸運(yùn)動(dòng)\SingleAxisMov.plg
?????文件???????5732??2009-07-03?10:25??單軸運(yùn)動(dòng)\SingleAxisMov.rc
?????文件????????890??2009-06-30?17:08??單軸運(yùn)動(dòng)\SingleAxisMov.sln
?????文件??????21504??2009-07-09?15:07??單軸運(yùn)動(dòng)\SingleAxisMov.suo
?????文件???????7478??2009-07-04?15:06??單軸運(yùn)動(dòng)\SingleAxisMov.vcproj
?????文件???????1427??2009-07-03?11:09??單軸運(yùn)動(dòng)\SingleAxisMov.vcproj.LENOVO-F5892976.Owner.user
?????文件???????1411??2009-07-09?15:07??單軸運(yùn)動(dòng)\SingleAxisMov.vcproj.LINSHHI.linshi.user
?????文件???????7020??2009-07-04?15:04??單軸運(yùn)動(dòng)\SingleAxisMovDlg.cpp
?????文件???????1619??2009-07-03?10:38??單軸運(yùn)動(dòng)\SingleAxisMovDlg.h
?????文件????????215??2008-05-22?15:17??單軸運(yùn)動(dòng)\StdAfx.cpp
?????文件???????1054??2008-05-22?15:17??單軸運(yùn)動(dòng)\StdAfx.h
?????文件???????1078??2008-05-22?15:17??單軸運(yùn)動(dòng)\res\SingleAxisMov.ico
?????文件????????405??2008-05-22?15:17??單軸運(yùn)動(dòng)\res\SingleAxisMov.rc2
?????目錄??????????0??2010-08-18?17:24??單軸運(yùn)動(dòng)\res
............此處省略9個(gè)文件信息
- 上一篇:Kinect程序開發(fā)幫助文檔C++
- 下一篇:熱電偶查表
評(píng)論
共有 條評(píng)論