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

📄 pci7505dlg.h

📁 PCI7505的通信编程
💻 H
字号:
// pci7505Dlg.h : header file
//

#if !defined(AFX_PCI7505DLG_H__CBA3EA06_EAF2_11D5_9905_8BC3ADBB6D7B__INCLUDED_)
#define AFX_PCI7505DLG_H__CBA3EA06_EAF2_11D5_9905_8BC3ADBB6D7B__INCLUDED_

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

#include "SystemTray.h"

/////////////////////////////////////////////////////////////////////////////
// CPci7505Dlg dialog

class CPci7505Dlg : public CDialog
{
private:
	CSystemTray m_sysTrayIcon;
	bool m_bHasTray;
	CImageList m_bmpLogos;
	bool m_bStart;
// Construction
public:
	CPci7505Dlg(CWnd* pParent = NULL);	// standard constructor
    typedef int(*pci7505check)(DWORD dwVendorID, DWORD dwDeviceID, BOOL fUseInt,DWORD cardNO);
    typedef int(*pci7505di)(long hPlx, BOOL fLocalAddr,int ch);
    typedef void(*pci7505do)(long hPlx, BOOL fLocalAddr,int ch,int dodata);
    typedef int(*pci7505close)(long hPlx);
	pci7505check check;
    pci7505di    di;
    pci7505do    dio;
    pci7505close close;
    unsigned char diod[2],did[2],olddid[2]; 
    int jc;
	int k;

// Dialog Data
	//{{AFX_DATA(CPci7505Dlg)
	enum { IDD = IDD_PCI7505_DIALOG };
	int		m_fs;
	BYTE	m_dio1;
	BYTE	m_dio2;
	int		m_nCount;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CPci7505Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnexitBUTTON();
	afx_msg void OnRadio1();
	afx_msg void OndoBUTTON();
	afx_msg void OnRadio2();
	afx_msg void OnButton1();
	afx_msg void OnHide();
	afx_msg void OnShow();
	afx_msg void OnButton2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PCI7505DLG_H__CBA3EA06_EAF2_11D5_9905_8BC3ADBB6D7B__INCLUDED_)

⌨️ 快捷键说明

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