
// InfiniteDlg.h : header file
//

#pragma once

#define			DATA_NUM	1000				// Number of sampling data
#define			CHANNEL_NUM	4

extern short	Id;

// CInfiniteDlg dialog
class CInfiniteDlg : public CDialogEx
{
// Construction
public:
	CInfiniteDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_INFINITE_DIALOG };
	CEdit	m_TransCount;
	CEdit	m_Status;
	CEdit	m_Return;
	CEdit	m_Error;
	CEdit	m_DeviceName;

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnClose();
	afx_msg void OnBnClickedButtonCntInit();
	afx_msg void OnBnClickedButtonCntmode();
	afx_msg void OnBnClickedButtonCondition();
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedButtonData();
	afx_msg void OnBnClickedButtonCount();
	afx_msg void OnBnClickedButtonStatus();
	afx_msg void OnBnClickedButtonCntExit();
	afx_msg void OnBnClickedButtonExit();
};
