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

📄 111copy3dlg.h

📁 CH365与单片机通讯界面设计
💻 H
字号:
// 111copy3Dlg.h : header file
//

#if !defined(AFX_111COPY3DLG_H__3DC0420F_CADB_46E2_ABB9_00545E01A8C1__INCLUDED_)
#define AFX_111COPY3DLG_H__3DC0420F_CADB_46E2_ABB9_00545E01A8C1__INCLUDED_

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



#include "stdafx.h"

#include "111copy3.h"

#include "ch365dll.h"

/////////////////////////////////////////////////////////////////////////////
// CMy111copy3Dlg dialog

class CMy111copy3Dlg : public CDialog
{
// Construction
public:

	    ULONG			iIndex;      //设备号

		mPCH365_IO_REG	oIoBase;     //I\O基址
		mPCH365_MEM_REG	oMemBase;    //存储器基址
		ULONG			oIntLine;     //中断号


		USHORT          Ctom(CString);   //ASCII码字符转化为十六进制


		USHORT          cAddr;            //配置空间地址
		UCHAR           cAddrR;           //配置空间的值
		UCHAR           cAddrW;           //配置空间的设定值


		USHORT          mAddr;            //存储器空间地址
		UCHAR           mAddrR;           //存储器空间的值
		UCHAR           mAddrW;           //存储器空间的设定值


         CString           sFileName;

        DoublePtr   d;

		DoublePtr   dback;
		UCHAR      mdata;

		 int j;
		 int i;











	CMy111copy3Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMy111copy3Dlg)
	enum { IDD = IDD_MY111COPY3_DIALOG };
	CString	m_oIoBase;
	CString	m_oMemBase;
	int		m_oIntLine;
	CString	m_cAddr;
	CString	m_cAddrR;
	CString	m_cAddrW;
	CString	m_mAddr;
	CString	m_mAddrR;
	CString	m_mAddrW;
	CString	m_d;
	CString	m_data;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMy111copy3Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnOpen();
	afx_msg void OnIoEdit1();
	afx_msg void OnMemEdit2();
	afx_msg void OnIntEdit3();
	afx_msg void OnChAddrEdit4();
	afx_msg void OnChAddrREdit5();
	afx_msg void OnChAddrWEdit6();
	afx_msg void OnChRead();
	afx_msg void OnChWrite();
	afx_msg void OnMemAddrEdit7();
	afx_msg void OnMemAddrREdit8();
	afx_msg void OnMemAddrWEdit9();
	afx_msg void OnMemRead();
	afx_msg void OnMemWrite();
	afx_msg void OnSelectFile();
	afx_msg void OnShowFile();
	afx_msg void OnDataShowEdit10();
	afx_msg void OnDateTran();
	afx_msg void OnMcuInt();
	afx_msg void OnDataBack();
	afx_msg void OnDataBackEdit11();
	afx_msg void OnOK();
	afx_msg void OnCancel();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_111COPY3DLG_H__3DC0420F_CADB_46E2_ABB9_00545E01A8C1__INCLUDED_)

⌨️ 快捷键说明

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