scommtest1dlg.h

来自「通过串口发送at指令 等待返回值判断当前的网络状况以及服务商等有关信息 用与gp」· C头文件 代码 · 共 68 行

H
68
字号
// SCommTest1Dlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_SCOMMTEST1DLG_H__F9477C60_D44C_4E4C_A400_9F8C02AB7893__INCLUDED_)
#define AFX_SCOMMTEST1DLG_H__F9477C60_D44C_4E4C_A400_9F8C02AB7893__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSCommTest1Dlg dialog

class CSCommTest1Dlg : public CDialog
{
// Construction
public:
	bool waitsend;
	bool waitopen;
	bool wait;
	bool waitat();
	bool waitcall;
	int buf;
	CSCommTest1Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CSCommTest1Dlg)
	enum { IDD = IDD_SCOMMTEST1_DIALOG };
	CStatic	m_Static;
	CMSComm	m_ctrlComm;
	CString	m_strRXData;
	CString	m_strTXData;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSCommTest1Dlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSCommTest1Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnComm();
	afx_msg void OnButtonManualsend();
	afx_msg void OnButtonSend();
	afx_msg void OnButton3();
	afx_msg void OnTimer(UINT nIDEvent);
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SCOMMTEST1DLG_H__F9477C60_D44C_4E4C_A400_9F8C02AB7893__INCLUDED_)

⌨️ 快捷键说明

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