📄 dpjcommview.h
字号:
// DPJCommView.h : interface of the CDPJCommView class
//
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_DPJCOMMVIEW_H__4F8E0040_409C_4AF0_B80B_F483A90271E2__INCLUDED_)
#define AFX_DPJCOMMVIEW_H__4F8E0040_409C_4AF0_B80B_F483A90271E2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CDPJCommView : public CFormView
{
protected: // create from serialization only
CDPJCommView();
DECLARE_DYNCREATE(CDPJCommView)
public:
//{{AFX_DATA(CDPJCommView)
enum { IDD = IDD_DPJCOMM_FORM };
CMSComm m_comm;
CString m_receive;
CString m_dadeng;
CString m_dianchi;
CString m_fanbaosi;
CString m_fadongji;
CString m_jiyou;
CString m_qinang;
CString m_shache;
CString m_shacheshiling;
CString m_shuiwendeng;
CString m_youdeng;
CString m_tingchezhidong;
CString m_zuodeng;
CString m_nshuiwen;
CString m_nchesu;
CString m_nyouwei;
CString m_nzhuansu;
CString m_fasongqu;
//}}AFX_DATA
// Attributes
public:
CDPJCommDoc* GetDocument();
CString buffer;
BYTE data[1024];
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDPJCommView)
public:
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);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDPJCommView();
void ShangchuanDanpianji1Data();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CDPJCommView)
afx_msg void OnClean();
afx_msg void OnSend();
afx_msg void OnComm();
afx_msg void OnTimer(UINT nIDEvent);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in DPJCommView.cpp
inline CDPJCommDoc* CDPJCommView::GetDocument()
{ return (CDPJCommDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DPJCOMMVIEW_H__4F8E0040_409C_4AF0_B80B_F483A90271E2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -