ad.h

来自「pci7222单片机的驱动程序」· C头文件 代码 · 共 107 行

H
107
字号
#if !defined(AFX_AD_H__9CB28C47_7521_4E33_B422_D9A35AAC0CAA__INCLUDED_)
#define AFX_AD_H__9CB28C47_7521_4E33_B422_D9A35AAC0CAA__INCLUDED_

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

#include "CH365DLL.H"

/////////////////////////////////////////////////////////////////////////////
// ad dialog

class ad : public CDialog
{
// Construction
public:
	ad(CWnd* pParent = NULL);   // standard constructor
    
	// 定义ADO连接、命令、记录集变量指针
	_ConnectionPtr	m_pConnection;
	_CommandPtr		m_pCommand;
	_RecordsetPtr	m_pRecordset;
	
// Dialog Data
	//{{AFX_DATA(ad)
	enum { IDD = IDD_AD_DIALOG };
	float	m_fAD1;
	float	m_fAD2;
	float	m_fAD3;
	float	m_fAD4;
	float	m_fAD5;
	float	m_fAD6;
	float	m_fAD7;
	float	m_fAD8;
	float	m_fAD9;
	float	m_fAD10;
	float	m_fAD11;
	float	m_fAD12;
	float	m_fAD13;
	float	m_fAD14;
	float	m_fAD15;
	float	m_fAD16;
	int		m_iSD;
	int		m_iRange;
	float	m_fAD17;
	float	m_fAD18;
	float	m_fAD19;
	float	m_fAD20;
	float	m_fAD21;
	float	m_fAD22;
	float	m_fAD23;
	float	m_fAD24;
	float	m_fAD25;
	float	m_fAD26;
	float	m_fAD27;
	float	m_fAD28;
	float	m_fAD29;
	float	m_fAD30;
	float	m_fAD31;
	float	m_fAD32;
	CString	m_Age;
	int	m_sex1;
	int	m_type1;
	int	m_sex2;
	int	m_type2;
	CString	m_sex;
	CString	m_type;
	CString	m_height;
	CString	m_weight;	//}}AFX_DATA
	

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(ad)
	

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(ad)
	virtual BOOL OnInitDialog();
	afx_msg void OnAdStart();
	afx_msg void OnAdStop();
	afx_msg void OnExit();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void Onsex1();
	afx_msg void Onsex2();
	
	afx_msg void Ontype1();
	afx_msg void Ontype2();
	afx_msg void OnWriteAccess();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_AD_H__9CB28C47_7521_4E33_B422_D9A35AAC0CAA__INCLUDED_)

⌨️ 快捷键说明

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