📄 pulseeddyview.h
字号:
// pulseeddyView.h : interface of the CPulseeddyView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_PULSEEDDYVIEW_H__E1E000AA_5E79_4577_B549_0344D1CEA7EB__INCLUDED_)
#define AFX_PULSEEDDYVIEW_H__E1E000AA_5E79_4577_B549_0344D1CEA7EB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPulseeddySet;
class CPulseeddyView : public CRecordView
{
protected: // create from serialization only
CPulseeddyView();
DECLARE_DYNCREATE(CPulseeddyView)
public:
CWinThread* m_ReadThread; // 子线程句柄
CWinThread* m_DrawWindowThread; // 子线程句柄
BOOL bDeviceRun;
HANDLE hDevice;
//{{AFX_DATA(CPulseeddyView)
enum { IDD = IDD_PULSEEDDY_FORM };
CEdit m_ctrlPicture;
//CListCtrl m_shuzixianshi;
CPulseeddySet* m_pSet;
int m_shutongdao;
int m_motongdao;
int m_pinlv;
int m_zengyi;
//}}AFX_DATA
// Attributes
public:
CPulseeddyDoc* GetDocument();
CFile m_File;
WORD m_InUserRegion[65536];
BOOL m_bFirstCreateDeviceFile;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPulseeddyView)
public:
virtual CRecordset* OnGetRecordset();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
void huifangwave();
void jindu();
virtual ~CPulseeddyView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CPulseeddyView)
afx_msg void OnBegsam();
afx_msg void OnStopsam();
afx_msg void OnTimebo();
afx_msg void OnTepin();
afx_msg void OnMaxval();
afx_msg void OnMaxvaltime();
afx_msg void OnZerotime();
afx_msg void OnPinputu();
afx_msg void OnCunpan();
afx_msg void OnPhasetu();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnPaint();
afx_msg void OnStopwave();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in pulseeddyView.cpp
inline CPulseeddyDoc* CPulseeddyView::GetDocument()
{ return (CPulseeddyDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PULSEEDDYVIEW_H__E1E000AA_5E79_4577_B549_0344D1CEA7EB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -