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

📄 sad8pcdlg.h

📁 RS232串口通讯,主要用来设置芯片中的数据.
💻 H
字号:
// SAD8PCDlg.h : header file
//

#if !defined(AFX_SAD8PCDLG_H__173BCC08_18A3_4653_A550_BAA9CF6AA3E0__INCLUDED_)
#define AFX_SAD8PCDLG_H__173BCC08_18A3_4653_A550_BAA9CF6AA3E0__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSAD8PCDlg dialog
#include "sad8com.h"
#include "str2bcd.h"
#include "comoperate.h"


class CSAD8PCDlg : public CDialog
{
// Construction
public:
	void buf2combo();
	int getcomno(void);
	void OnReadTherm(void);
	BOOL buf2thermedit(char *s);
	class CSSAD8COM sad8com;
	BOOL combo2readbuf(char	*sad8buf_read);
	CSAD8PCDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CSAD8PCDlg)
	enum { IDD = IDD_SAD8PC_DIALOG };
	CComboBox	m_cbrs485sendmode;
	CComboBox	m_cbthermbuchang;
	CComboBox	m_cboutsck;
	CComboBox	m_cbcomno;
	CComboBox	m_cbcombps;
	CComboBox	m_cbaddr;
	CString	m_csaddr;
	CString	m_cscombps;
	CString	m_cscomno;
	CString	m_csoutsck;
	CString	m_csthermbuchang;
	CString	m_therm1;
	CString	m_therm2;
	CString	m_therm3;
	CString	m_therm4;
	CString	m_therm5;
	CString	m_therm6;
	CString	m_therm7;
	CString	m_therm8;
	CString	m_csrs485sendmode;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSAD8PCDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnReadbuf();
	afx_msg void OnLoaddefault();
	afx_msg void OnReadtherm();
	afx_msg void OnWritebuf();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SAD8PCDLG_H__173BCC08_18A3_4653_A550_BAA9CF6AA3E0__INCLUDED_)

⌨️ 快捷键说明

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