atmeasureview.h
来自「串口应变采集系统」· C头文件 代码 · 共 133 行
H
133 行
// AtmeasureView.h : interface of the CAtmeasureView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_ATMEASUREVIEW_H__92551D64_149F_4A6B_B92F_89A8AF24AFAB__INCLUDED_)
#define AFX_ATMEASUREVIEW_H__92551D64_149F_4A6B_B92F_89A8AF24AFAB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CAtmeasureSet;
class CAtmeasureView : public CRecordView
{
protected: // create from serialization only
CAtmeasureView();
DECLARE_DYNCREATE(CAtmeasureView)
public:
//{{AFX_DATA(CAtmeasureView)
enum { IDD = IDD_ATMEASURE_FORM };
CDateTimeCtrl m_TimeChoose;
CComboBox m_Tem4Ctrl;
CComboBox m_Tem3Ctrl;
CComboBox m_Tem2Ctrl;
CComboBox m_Tem1Ctrl;
CComboBox m_PointNameCtrl3;
CComboBox m_PointNameCtrl2;
CComboBox m_PointNameCtrl1;
CComboBox m_PointNameCtrl0;
CComboBox m_PointNameCtrl;
CComboBox m_PointRoadCtrl3;
CComboBox m_PointRoadCtrl2;
CComboBox m_PointRoadCtrl1;
CComboBox m_PointRoadCtrl0;
CComboBox m_PointRoadCtrl;
CListCtrl m_ListCtrl;
CAtmeasureSet* m_pSet;
CString m_PointRoad;
CString m_PointRoad0;
CString m_PointRoad1;
CString m_PointRoad2;
CString m_PointRoad3;
CString m_PointData;
CString m_PointData0;
CString m_PointData1;
CString m_PointData2;
CString m_PointData3;
CString m_tem1;
CString m_tem2;
CString m_tem3;
CString m_tem4;
CTime m_TimeData;
CString m_Time;
//}}AFX_DATA
// DECLARE_EVENTSINK_MAP()
// Attributes
public:
CAtmeasureDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAtmeasureView)
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:
int CheckNumG;
int CheckNum;
int NumCtrl;
void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
int hScrollPos;
int vScrollPos;
int show();
// void OnTimer(UINT nIDEvent);
// void OnCommDatacom();
// void OnCommCtrlcom();
bool m_AlreadyOpen;
bool m_bDataCOMCreated;
int SetDataCOM(CString str);
bool m_bCtrlCOMCreated;
int SetCtrlCOM(CString str);
virtual ~CAtmeasureView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CAtmeasureView)
afx_msg void OnStart();
afx_msg void OnStop();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnPaint();
afx_msg void OnCommDatacom();
afx_msg void OnCommCtrlcom();
afx_msg void OnOk();
afx_msg void OnDraw();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in AtmeasureView.cpp
inline CAtmeasureDoc* CAtmeasureView::GetDocument()
{ return (CAtmeasureDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ATMEASUREVIEW_H__92551D64_149F_4A6B_B92F_89A8AF24AFAB__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?