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

📄 demodlg.h

📁 运动控制卡的详细开发资料
💻 H
字号:
// DEMODlg.h : header file
//

#if !defined(AFX_DEMODLG_H__DB20D92D_7D9B_46E9_A256_EE4B53BC74C5__INCLUDED_)
#define AFX_DEMODLG_H__DB20D92D_7D9B_46E9_A256_EE4B53BC74C5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


/////////////////////////////////////////////////////////////////////////////
// CDEMODlg dialog
#define MAINTIMER 1001                 //主程序定时器


class CDEMODlg : public CDialog
{
// Construction
public:
	CDEMODlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CDEMODlg)
	enum { IDD = IDD_DEMO_DIALOG };
	long	m_nAddW;
	long	m_nAddX;
	long	m_nAddY;
	long	m_nAddZ;
	BOOL	m_bW;
	BOOL	m_bX;
	BOOL	m_bY;
	BOOL	m_bZ;
	long	m_nPulseW;
	long	m_nPulseX;
	long	m_nPulseY;
	long	m_nPulseZ;
	long	m_nRatioW;
	long	m_nRatioX;
	long	m_nRatioY;
	long	m_nRatioZ;
	long	m_nSpeedW;
	long	m_nSpeedX;
	long	m_nSpeedY;
	long	m_nSpeedZ;
	long	m_nStartvW;
	long	m_nStartvX;
	long	m_nStartvY;
	long	m_nStartvZ;
	BOOL	m_bDelayStatus;
	long	m_nDelayTime;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDEMODlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDEMODlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnButtonPmove();
	afx_msg void OnButtonInpmove();
	afx_msg void OnButtonStop();
	afx_msg void OnButtonIotest();
	afx_msg void OnButtonBasepara();
	afx_msg void OnButtonClearpos();
	afx_msg void OnDelay();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DEMODLG_H__DB20D92D_7D9B_46E9_A256_EE4B53BC74C5__INCLUDED_)

⌨️ 快捷键说明

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