www.pudn.com > QQandSample.rar > Sample.h


#if !defined(AFX_SAMPLE_H__130C2973_4C80_4118_B6FF_6B2172099308__INCLUDED_) 
#define AFX_SAMPLE_H__130C2973_4C80_4118_B6FF_6B2172099308__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// Sample.h : header file 
// 
#include "SigStruct.h" 
#include "Caculate.h" 
///////////////////////////////////////////////////////////////////////////// 
// CSample dialog 
//采集类,做信号的采集和预处理以及滤波操作 
 
#define WM_SAMPLEFINISHED   WM_USER+10 
class CSample : public CDialog 
{ 
// Construction 
public: 
	void TransData(SignalType *signal); 
	void BeganSample(SignalType *signal); 
	 
	CSample(CWnd* pParent = NULL);   // standard constructor 
	CCaculate m_caculate; 
// Dialog Data 
	//{{AFX_DATA(CSample) 
	enum { IDD = IDD_SAMPLE }; 
	int		m_channel; 
	int		m_trigger; 
	long	m_A; 
	long	m_HZ; 
	float	m_PH; 
	long	m_long; 
	float	m_sample; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CSample) 
	public: 
	virtual BOOL DestroyWindow(); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CSample) 
	afx_msg void OnPaint(); 
	virtual void OnOK(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_SAMPLE_H__130C2973_4C80_4118_B6FF_6B2172099308__INCLUDED_)