📄 mpctestview.h
字号:
// MPCTestView.h : interface of the CMPCTestView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "siartchart.h"
//}}AFX_INCLUDES
#include "OPCSET.h"
#include "OPCClient.h"
#if !defined(AFX_MPCTESTVIEW_H__0AE19894_047A_435B_8944_2001C72BF017__INCLUDED_)
#define AFX_MPCTESTVIEW_H__0AE19894_047A_435B_8944_2001C72BF017__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMPCTestSet;
class CMPCTestView : public CRecordView
{
protected: // create from serialization only
CMPCTestView();
DECLARE_DYNCREATE(CMPCTestView)
public:
//{{AFX_DATA(CMPCTestView)
enum { IDD = IDD_MPCTEST_FORM };
CMPCTestSet* m_pSet;
CSIARTChart m_siachart;
CString m_static1;
CString m_static2;
CString m_static3;
//}}AFX_DATA
public :
CString ReadItemStringValue[50];
// Attributes
public:
CMPCTestDoc* GetDocument();
public:
private:
COPCClient * pDoc;
double time;//时间轴常数
int suantime;//算法时间
BOOL m_Stop;//停止信号
int totalday;
HMODULE hDll;//调用动态库
BOOL m_LoadDll;//动态库是否加载
// Operations
protected:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMPCTestView)
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:
virtual ~CMPCTestView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
void control();
// Generated message map functions
protected:
//{{AFX_MSG(CMPCTestView)
afx_msg void OnStart();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnLoopset();
afx_msg void OnOpenInifile();
afx_msg void OnSetup();
afx_msg void OnStop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in MPCTestView.cpp
inline CMPCTestDoc* CMPCTestView::GetDocument()
{ return (CMPCTestDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MPCTESTVIEW_H__0AE19894_047A_435B_8944_2001C72BF017__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -