motordlgprv.h

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

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

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

/////////////////////////////////////////////////////////////////////////////
// MotorDlgPrv dialog

class MotorDlgPrv : public CDialog
{
// Construction
public:
	MotorCtrol motorprvDlg;//电机控制类

	BOOL m_bSelfchekflag;//设备自检标志

	MotorDlgPrv(CWnd* pParent = NULL);   // standard constructor
// Dialog Data
	//{{AFX_DATA(MotorDlgPrv)
	enum { IDD = IDD_MOTORDIALOG_PRV };
	CComboBox	m_cModlgprvDirect;
	double	m_dModlgprvSpeed;
	int		m_nModlgprvPoint;
	//}}AFX_DATA

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(MotorDlgPrv)
	afx_msg void OnBumodlgprvInit();
	afx_msg void OnBumodlgprvStart();
	afx_msg void OnBumodlgprvStop();
	afx_msg void OnBumodlgprvFinish();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	//手动添加,编码器完成一次数据读取的消息响应函数
	afx_msg void OnCoderDaqOne(WPARAM wParam, LPARAM lParam);
	//手动添加,传动精度试验中打开数据的消息响应函数
	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_MOTORDLGPRV_H__BAFA440F_B610_4483_83E8_CE8E8EE68E3F__INCLUDED_)

⌨️ 快捷键说明

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