⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 煤气取样过程计算机模拟view.h

📁 本程序是利用VC开发的炼钢炉煤气取样过程的图形化监控程序。界面中的自动演示按钮可以演示整个取样过程。
💻 H
字号:
// 煤气取样过程计算机模拟View.h : interface of the CMyView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_VIEW_H__9FA35ACD_6770_11D7_916A_00E04CF99F0F__INCLUDED_)
#define AFX_VIEW_H__9FA35ACD_6770_11D7_916A_00E04CF99F0F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include"mscomm.h"
#include"Splash.h"

class CMyView : public CFormView
{
protected: // create from serialization only
	CMyView();
	DECLARE_DYNCREATE(CMyView)

public:
	//{{AFX_DATA(CMyView)
	enum { IDD = IDD_MY_FORM };
	CMSComm	m_OnCom1;
	//}}AFX_DATA
   
// Attributes
public:
	CMyDoc* GetDocument();

// Operations
public:
void SendDataOnCom1();
CString FCS(CString Str_sur);
void PLCDataProcess();
void ShowPipeHeadForward();
void ShowPipeHeadBackward();
void ShowPipeForward();
void ShowPipeBackward();
void ShowBallValve();
void ShowF4Gas();
void ShowF1Gas();
void ShowF2Gas();
void ShowF3Gas();
void ShowF11Gas();
void ShowF5CaptureGas(); //capture
void ShowF5AnalysisGas(); //analysis

void Yanshi2();
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMyView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CMyView)
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnComm1();
	afx_msg void OnLivestartmenu();
	afx_msg void OnLivestopmenu();
	afx_msg void OnRemotestartmenu();
	afx_msg void OnRemotestopmenu();
	afx_msg void OnExitButton17();
	afx_msg void OnClose();
	afx_msg void OnButton18();
	afx_msg void OnX3on();
	afx_msg void OnX3off();
	afx_msg void OnF1on();
	afx_msg void OnF1off();
	afx_msg void OnF2on();
	afx_msg void OnF2off();
	afx_msg void OnF3on();
	afx_msg void OnF3off();
	afx_msg void OnF4on();
	afx_msg void OnF4off();
	afx_msg void OnF5on();
	afx_msg void OnF5off();
	afx_msg void OnF11on();
	afx_msg void OnF11off();
	afx_msg void OnF17on();
	afx_msg void OnF17off();
	afx_msg void OnCaptureon();
	afx_msg void OnCaptureoff();
	afx_msg void OnAnalysison();
	afx_msg void OnAutorunon();
	afx_msg void OnAutorunoff();
	afx_msg void OnAutoon();
	afx_msg void OnAutooff();
	afx_msg void OnHandon();
	afx_msg void OnHandoff();
	afx_msg void OnMotorforwardon();
	afx_msg void OnMotorforwardoff();
	afx_msg void OnMotorbackon();
	afx_msg void OnMotorbackoff();
	afx_msg void OnAnalysisoff();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in 煤气取样过程计算机模拟View.cpp
inline CMyDoc* CMyView::GetDocument()
   { return (CMyDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_VIEW_H__9FA35ACD_6770_11D7_916A_00E04CF99F0F__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -