motordlgresp.h

来自「一个用于无刷直流电动机的驱动与控制程序.里面所用的采集卡的型号为MC08.」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_MOTORDLGRESP_H__51F74115_D1B7_4E39_BAAD_0F19E6A0B7C8__INCLUDED_)
#define AFX_MOTORDLGRESP_H__51F74115_D1B7_4E39_BAAD_0F19E6A0B7C8__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MotorDlgResp.h : header file
//
#include "MotorCtrol.h"

/////////////////////////////////////////////////////////////////////////////
// MotorDlgResp dialog

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

// Dialog Data
	//{{AFX_DATA(MotorDlgResp)
	enum { IDD = IDD_MOTORDIALOG_RESP };
	CComboBox	m_cModlgresRiset;
	CComboBox	m_cModlgresStable;
	CComboBox	m_cModlgresRisef;
	CComboBox	m_cModlgresDirect;
	double	m_dModlgresSpeed;
	//}}AFX_DATA
	MotorCtrol motorresDlg;//电机控制类
	/*布尔变量*/
	BOOL m_bSelfchekflag;//设备自检标志

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(MotorDlgResp)
	virtual BOOL OnInitDialog();
	afx_msg void OnBumodlgresInit();
	afx_msg void OnBumodlgresStart();
	afx_msg void OnBumodlgresStop();
	afx_msg void OnBumodlgresFinish();
	//}}AFX_MSG
	//手动添加,过度过程试验中打开数据的消息响应函数
	afx_msg void OnOpendata(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_MOTORDLGRESP_H__51F74115_D1B7_4E39_BAAD_0F19E6A0B7C8__INCLUDED_)

⌨️ 快捷键说明

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