functest.h

来自「演示vc与专业控制器的连接」· C头文件 代码 · 共 85 行

H
85
字号
#if !defined(AFX_FUNCTEST_H__3C21053C_27B5_4F07_B387_773F16844FA3__INCLUDED_)
#define AFX_FUNCTEST_H__3C21053C_27B5_4F07_B387_773F16844FA3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FuncTest.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CFuncTest form view

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

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

// Form Data
public:
	//{{AFX_DATA(CFuncTest)
	enum { IDD = IDD_FUNCTIONTEST };
	CListCtrl	m_cListFunc;
	//}}AFX_DATA

// Attributes
public:
	char m_chName[100][100];
	CString m_sPara[10];
	CString m_sFuncTest;
	long m_lPara[10];
	double m_dbPara[10];
	int m_nIndex;
	

// Operations
public:
	int InitListCtrl();
	int InitMPC2810();
//	int CFuncTest::Update();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFuncTest)
	public:
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CFuncTest)
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnClickListFunctiontest(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkListFunctiontest(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBtnDecelStop();
	afx_msg void OnBtnPause();
	afx_msg void OnBtnResume();
	afx_msg void OnBtnStartMove();
	afx_msg void OnSuddenStop();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_FUNCTEST_H__3C21053C_27B5_4F07_B387_773F16844FA3__INCLUDED_)

⌨️ 快捷键说明

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