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

📄 readcarddlg.h

📁 不用控制器,对读卡头进行读写.可设置根据读卡器类型不同而进行长度的设置
💻 H
字号:
// readcardDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_READCARDDLG_H__3CFB5525_6219_486C_897C_394E380810A1__INCLUDED_)
#define AFX_READCARDDLG_H__3CFB5525_6219_486C_897C_394E380810A1__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CReadcardDlg dialog
#include "serial.h"
class CReadcardDlg : public CDialog
{
// Construction
public:
	LRESULT On_Receive(WPARAM wp, LPARAM lp);
	CReadcardDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CReadcardDlg)
	enum { IDD = IDD_READCARD_DIALOG };
	CMSComm	m_com;
	CString	m_helper;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
	// Generated message map functions
	//{{AFX_MSG(CReadcardDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg void OnSetId();
	afx_msg void OnRRead();
	afx_msg void OnBtnID();
	afx_msg void OnButton4();
	afx_msg LONG OnComm(WPARAM ch, LPARAM port);
	afx_msg void OnButton5();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int comno,baudrate,conno,times,timeno,cardlength;
};

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

#endif // !defined(AFX_READCARDDLG_H__3CFB5525_6219_486C_897C_394E380810A1__INCLUDED_)

⌨️ 快捷键说明

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