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

📄 llydlg.h

📁 用于信号采集的VC++串口单路互相关上位机程序.
💻 H
字号:
// llyDlg.h : header file
//

#if !defined(AFX_LLYDLG_H__B98FE420_4CE7_4B22_8BAA_93EDC9251FFF__INCLUDED_)
#define AFX_LLYDLG_H__B98FE420_4CE7_4B22_8BAA_93EDC9251FFF__INCLUDED_

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

#define charLEN 4096
#define charL   2048
/////////////////////////////////////////////////////////////////////////////
// CLlyDlg dialog
#include "com232.h"

class CLlyDlg : public CDialog
{
// Construction
public:
	CLlyDlg(CWnd* pParent = NULL);	// standard constructor


	CComStatus m_comDev;
	
	char inbuf[charLEN];
	char intemp[charLEN];
// Dialog Data
	//{{AFX_DATA(CLlyDlg)
	enum { IDD = IDD_LLY_DIALOG };
	CString	m_strCount;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CLlyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg void OnHxgic();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int HexToDec(char ch);
	int AlterChar2ToChar1(char ch1,char ch2);
};

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

#endif // !defined(AFX_LLYDLG_H__B98FE420_4CE7_4B22_8BAA_93EDC9251FFF__INCLUDED_)

⌨️ 快捷键说明

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