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

📄 simsimensview.h

📁 用VC做的串口程序
💻 H
字号:
// SimSimensView.h : interface of the CSimSimensView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SIMSIMENSVIEW_H__64B3510C_4ACE_11D6_9862_0050BF0A4880__INCLUDED_)
#define AFX_SIMSIMENSVIEW_H__64B3510C_4ACE_11D6_9862_0050BF0A4880__INCLUDED_

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

#include "SimSimens.h"

class CSimSimensView : public CEditView
{
protected: // create from serialization only
	CSimSimensView();
	DECLARE_DYNCREATE(CSimSimensView)

// Attributes
public:
	CSimSimensDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSimSimensView)
	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 ~CSimSimensView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CSimSimensView)
	afx_msg LRESULT OnCommNotify(WPARAM wParam,LPARAM lParam);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void Show_T_STX();                      //(用于调试)
    afx_msg void Show_T_DLE();
	afx_msg void Show_T_NAK();
	afx_msg void Show_T_DLEETXBCC();
	afx_msg void Show_R_STX();
	afx_msg void Show_R_DLE();
	afx_msg void Show_R_NAK();
	afx_msg void Show_R_DLEETXBCC();
	afx_msg void Show_ZVZ_OUTTIME();
	afx_msg void Show_QVZ_OUTTIME();
	afx_msg void Show_BWA_OUTTIME();
	afx_msg void Show_ZVZ_WAIT(); 
    afx_msg void Show_TXA_OVER_STX();
    afx_msg void Show_TXA_OVER_T_TEXT();
    afx_msg void Show_TXA_OVER_R_TEXT();
    afx_msg void Show_T_TEXT_SUCCESS();
    afx_msg void Show_T_TEXT_UNSUCCESS();
    afx_msg void Show_R_TEXT_SUCCESS();
    afx_msg void Show_R_TEXT_UNSUCCESS();
    afx_msg void Show_CHECKBCC_SUCCESS();
    afx_msg void Show_CHECKBCC_UNSUCCESS();
    afx_msg void Show_CHECK_SUCCESS();
    afx_msg void Show_CHECK_UNSUCCESS();
    afx_msg void Show_R_OTHER();
    afx_msg void Show_T_A();
	afx_msg void Show_R_A();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in SimSimensView.cpp
inline CSimSimensDoc* CSimSimensView::GetDocument()
   { return (CSimSimensDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_SIMSIMENSVIEW_H__64B3510C_4ACE_11D6_9862_0050BF0A4880__INCLUDED_)

⌨️ 快捷键说明

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