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

📄 dlgpcl730.h

📁 研华数据采集卡PCI1713,PCI1720,PCL730测试程序
💻 H
字号:
#if !defined(AFX_DLGPCL730_H__9D0F0F01_44B8_11D7_9E0C_B4E5A9475D38__INCLUDED_)
#define AFX_DLGPCL730_H__9D0F0F01_44B8_11D7_9E0C_B4E5A9475D38__INCLUDED_

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

#include "HoverButton.h"
#include "ADPCL730.h"	// Added by ClassView
#define PCL730 002
/////////////////////////////////////////////////////////////////////////////
// CDlgPcl730 dialog

class CDlgPcl730 : public CDialog
{
// Construction
public:
	USHORT m_usState;
	CDlgPcl730(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlgPcl730)
	enum { IDD = IDD_PCL730 };
	CHoverButton	m_Led10;
	CHoverButton	m_Led9;
	CHoverButton	m_Led8;
	CHoverButton	m_Led7;
	CHoverButton	m_Led6;
	CHoverButton	m_Led5;
	CHoverButton	m_Led4;
	CHoverButton	m_Led3;
	CHoverButton	m_Led2;
	CHoverButton	m_Led15;
	CHoverButton	m_Led14;
	CHoverButton	m_Led13;
	CHoverButton	m_Led12;
	CHoverButton	m_Led11;
	CHoverButton	m_Led1;
	CHoverButton	m_Led0;
	//}}AFX_DATA


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

// Implementation
protected:
	int m_nState;
	BOOL m_bTimerOn;
	void InitPcl730();
	void OpenPcl730();
	void ClosePcl730();
	BOOL m_bPcl730On;
	int DigBitOut(USHORT port, USHORT bit, USHORT state);
	CADPCL730 Pcl730;
	int DigBitIn(USHORT port, USHORT bit, USHORT state);

	// Generated message map functions
	//{{AFX_MSG(CDlgPcl730)
	virtual BOOL OnInitDialog();
	afx_msg void OnDestroy();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	afx_msg void OnDigOut();
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DLGPCL730_H__9D0F0F01_44B8_11D7_9E0C_B4E5A9475D38__INCLUDED_)

⌨️ 快捷键说明

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