📄 testapiview.h
字号:
// TestAPIView.h : interface of the CTestAPIView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TESTAPIVIEW_H__7E82BC95_1E00_4573_8AEA_BD47A6EA18E8__INCLUDED_)
#define AFX_TESTAPIVIEW_H__7E82BC95_1E00_4573_8AEA_BD47A6EA18E8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTestAPIView : public CView
{
protected: // create from serialization only
CTestAPIView();
DECLARE_DYNCREATE(CTestAPIView)
// Attributes
public:
CTestAPIDoc* GetDocument();
// Operations
public:
int iComPort;
int iClockType;
int iAcDc;
int iTrigerType;
int iGainType;
int ChannelData1[2048];
int ChannelData2[2048];
char szClock[32];
char szGain[32];
char szComPort[32];
char szAcDc[32];
char szTriger[32];
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestAPIView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTestAPIView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CTestAPIView)
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void On200k();
afx_msg void On20k();
afx_msg void On20m();
afx_msg void On2m();
afx_msg void On400k();
afx_msg void On40k();
afx_msg void On40m();
afx_msg void On4m();
afx_msg void On800k();
afx_msg void On80k();
afx_msg void On8m();
afx_msg void OnAc();
afx_msg void OnDc();
afx_msg void OnEnd();
afx_msg void OnGain1();
afx_msg void OnGain10();
afx_msg void OnGain20();
afx_msg void OnStart();
afx_msg void OnVersion();
afx_msg void OnDestroy();
afx_msg void OnRising();
afx_msg void OnFalling();
afx_msg void OnAuto();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in TestAPIView.cpp
inline CTestAPIDoc* CTestAPIView::GetDocument()
{ return (CTestAPIDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTAPIVIEW_H__7E82BC95_1E00_4573_8AEA_BD47A6EA18E8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -