disettingdlg.h

来自「16 relay output channels and 16 isolated」· C头文件 代码 · 共 54 行

H
54
字号
#if !defined(AFX_DISETTINGDLG_H__7C7557EE_5753_4E3A_9F17_0D682E017B2B__INCLUDED_)
#define AFX_DISETTINGDLG_H__7C7557EE_5753_4E3A_9F17_0D682E017B2B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDISettingDlg dialog
enum DISETTING { FallingTrigger, RisingTrigger, FilterEnabled, InterruptEnabled };
class CDISettingDlg : public CDialog
{
// Construction
public:
	CDISettingDlg(CWnd* pParent = NULL);   // standard constructor
	DISETTING DISettingFlag;
	BYTE *DISetting;
	USHORT DIChanNum;
	USHORT DIPortNum;
// Dialog Data
	//{{AFX_DATA(CDISettingDlg)
	enum { IDD = IDD_SETTING_DIALOG };
	CCheckListBox	m_PortList;
	CCheckListBox	m_ChanList;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDISettingDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangePortList();
	afx_msg void OnChekchangePortList();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DISETTINGDLG_H__7C7557EE_5753_4E3A_9F17_0D682E017B2B__INCLUDED_)

⌨️ 快捷键说明

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