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

📄 testformview.h

📁 一个用于无刷直流电动机的驱动与控制程序.里面所用的采集卡的型号为MC08.
💻 H
字号:
// TestFormView.h : interface of the CTestFormView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTFORMVIEW_H__D3395E32_44F8_4FDF_874F_62942FCF7386__INCLUDED_)
#define AFX_TESTFORMVIEW_H__D3395E32_44F8_4FDF_874F_62942FCF7386__INCLUDED_

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

#include "TestFormDoc.h"
#include "DrawDlgPower.h"
#include "DrawDlgPrv.h"
#include "DrawDlgOver.h"
#include "DrawDlgRigid.h"
#include "DrawDlgStart.h"
#include "DrawDlgBlanke.h"
#include "DrawDlgResp.h"


class CTestFormView : public CFormView
{
protected: // create from serialization only
	CTestFormView();
	DECLARE_DYNCREATE(CTestFormView)

public:
	//{{AFX_DATA(CTestFormView)
	enum { IDD = IDD_DRAWDIALOG_BASE };
	//}}AFX_DATA
	UINT m_nCurrPage;
	HWND m_arhwndPage[10];

	DrawDlgPower powerDrawDlg;	//效率试验绘图对话框
	DrawDlgPrv   prvDrawDlg;	//传动精度试验绘图对话框
	DrawDlgOver  overDrawDlg;	//超载试验绘图对话框
	DrawDlgRigid rigidDrawDlg;	//刚度及回差试验绘图对话框
	DrawDlgStart startDrawDlg;	//启动力矩试验绘图对话框
	DrawDlgBlanke blankeDrawDlg;//空程回差试验绘图对话框
	DrawDlgResp respDrawDlg;	//过度过程试验绘图对话框

// Attributes
public:
	CTestFormDoc* GetDocument();

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

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestFormView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:	
	void DrawSwitchView(int nview);
	virtual ~CTestFormView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestFormView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TestFormView.cpp
inline CTestFormDoc* CTestFormView::GetDocument()
   { return (CTestFormDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TESTFORMVIEW_H__D3395E32_44F8_4FDF_874F_62942FCF7386__INCLUDED_)

⌨️ 快捷键说明

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