📄 myworkview.h
字号:
// MyWorkView.h : interface of the CMyWorkView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MYWORKVIEW_H__CE19F78D_46B9_11D5_87A6_52544C490982__INCLUDED_)
#define AFX_MYWORKVIEW_H__CE19F78D_46B9_11D5_87A6_52544C490982__INCLUDED_
#include "Set1.h" // Added by ClassView
#include "Set2.h" // Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMyWorkView : public CView
{
protected: // create from serialization only
CMyWorkView();
DECLARE_DYNCREATE(CMyWorkView)
// Attributes
public:
CMyWorkDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyWorkView)
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);
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
public:
int doc_m;
unsigned short ad_data[200000];
int m_main_gainN;
int y_emply;
double ratio;
int x;
int circle_num;
int advance;
bool mask;
int status;
void refresh();
bool finishing;
double scale;
bool div_label;
bool ready;
int m_con;
int mm;
int m;
int circle_number;
unsigned short avg[200000];
int rate[200000];
///////////////////////////////
bool label;
int m_main_channel;
CString m_main_num;
bool starting;
int n;
int real_count;
int ad_gain;
int time_x[200000];
int volt_y[200000];
unsigned short ad_buffer1[200000];
unsigned short ad_buffer2[200000];
int local;
bool stoping;
int m_main_ratio;
int m_main_time;
CString m_main_gain;
CString m_main_cname;
CString m_main_cybc;
CString m_main_jyl;
CString m_main_jcq;
CString m_main_gdx;
CString m_main_ldx;
CString m_main_spz;
BOOL nTime;
virtual ~CMyWorkView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
Set2 *m_set3;
Set1 *m_Set;
//{{AFX_MSG(CMyWorkView)
afx_msg void OnFind();
afx_msg void OnLuru();
afx_msg void OnTime();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSezi();
afx_msg void OnStart();
afx_msg void ADCollect();
afx_msg void OnPause();
afx_msg void OnSavedata();
afx_msg void OnPicEmplify();
afx_msg void OnPicShrink();
afx_msg void OnFour();
afx_msg void OnOne();
afx_msg void OnSixtteen();
afx_msg void OnTwo();
afx_msg void OnEight();
afx_msg void OnYTwo();
afx_msg void OnYEight();
afx_msg void OnYFour();
afx_msg void OnYOne();
afx_msg void OnFileSave();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in MyWorkView.cpp
inline CMyWorkDoc* CMyWorkView::GetDocument()
{ return (CMyWorkDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYWORKVIEW_H__CE19F78D_46B9_11D5_87A6_52544C490982__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -