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

📄 dlge1sch.h

📁 使用vc++技术实现光电机串口通信管理程序
💻 H
字号:
//{{AFX_INCLUDES()
//}}AFX_INCLUDES
#if !defined(AFX_DLGE1SCH_H__F2B7FC63_651A_471C_8290_19F33A85EE98__INCLUDED_)
#define AFX_DLGE1SCH_H__F2B7FC63_651A_471C_8290_19F33A85EE98__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgE1Sch.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDlgE1Sch dialog

class CDlgE1Sch : public CDialog
{
// Construction
public:
	CDlgE1Sch(CWnd* pParent = NULL);   // standard constructor
	void InitList();
	void XstrtoBin(CString str,CString &strBin);
	void WarnSet(CString strBinValue,int iLine);
	static CString strSent;
	static int iState;//当前状态0:空闲;1:发送;2:接收;
	int Str2Hex(CString str, char* data);
	void protectSet(CString strBinValue,int iLine);
	char HexChar(char c);
	CString m_strRXData;
	int idelay;
    void getFileName();
	CString strFileName;
// Dialog Data
	//{{AFX_DATA(CDlgE1Sch)
	enum { IDD = IDD_DIALOG_E1SCH };
	CListCtrl	m_ListCtrl;

	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlgE1Sch)
	virtual BOOL OnInitDialog();

	afx_msg void OnBtnDisplay();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnClose();
	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_DLGE1SCH_H__F2B7FC63_651A_471C_8290_19F33A85EE98__INCLUDED_)

⌨️ 快捷键说明

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