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

📄 motordlgbase.h

📁 一个用于无刷直流电动机的驱动与控制程序.里面所用的采集卡的型号为MC08.
💻 H
字号:
#if !defined(AFX_MOTORDLGBASE_H__8C243221_3F5D_4117_8681_681E46DD831E__INCLUDED_)
#define AFX_MOTORDLGBASE_H__8C243221_3F5D_4117_8681_681E46DD831E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MotorDlgBase.h : header file
//
#include "BeginDlg.h"
#include "MotorDlgDebg.h"
#include "TestDlg.h"
#include "HelpDlg.h"
#include "DebgDlg.h"
#include "SetDlg.h"

#include "MotorDlgPower.h"
#include "MotorDlgPrv.h"
#include "MotorDlgOver.h"
#include "MotorDlgBlanke.h"
#include "MotorDlgRigid.h"
#include "MotorDlgStart.h"
#include "MotorDlgResp.h"

/////////////////////////////////////////////////////////////////////////////
// MotorDlgBase form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class MotorDlgBase : public CFormView
{
protected:
	MotorDlgBase();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(MotorDlgBase)

// Form Data
public:
	//{{AFX_DATA(MotorDlgBase)
	enum { IDD = IDD_MOTORDIALOG_BASE };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	UINT m_nCurrPage;
	HWND m_arhwndPage[15];

	MotorDlgPower powDlg;		//效率试验主控对话框
	MotorDlgPrv prvDlg;			//传动精度试验主控对话框
	MotorDlgOver overDlg;		//超载试验主控对话框
	MotorDlgBlanke blankDlg;	//空程回差试验主控对话框
	MotorDlgRigid rigidDlg;		//刚度及回差试验主控对话框
	MotorDlgStart startDlg;		//启动力矩试验主控对话框
	MotorDlgResp respDlg;		//过度过程试验主控对话框
	BeginDlg beginDlg;			//系统启动对话框
	MotorDlgDebg debgDlg;		//电机调试对话框
	TestDlg testDlg;			//试验项目对话框
	HelpDlg helpDlg;			//帮助对话框
	DebgDlg dbgDlg;				//调试对话框
	SetDlg setDlg;				//试验设置对话框

// Attributes
public:

// Operations
public:
	void MotorSwitchView(int nview);

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

// Implementation
protected:
	virtual ~MotorDlgBase();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(MotorDlgBase)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_MOTORDLGBASE_H__8C243221_3F5D_4117_8681_681E46DD831E__INCLUDED_)

⌨️ 快捷键说明

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