﻿
// AoGeneratingInfiniteUserDlg.h : header file
//

#pragma once
#include "afxwin.h"


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

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_AOGENERATINGINFINITEUSER_DIALOG };
#endif

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	CEdit m_device_name;
	CComboBox m_ao_range;
	CEdit m_ao_channels;
	CEdit m_ao_generating_times;
	CEdit m_ao_event_transfer_times;
	CEdit m_transfer_count;
	CEdit m_transfer_lap;
	CEdit m_ao_status;
	CEdit m_return_code;
	afx_msg void OnBnClickedButtonAioInit();
	afx_msg void OnBnClickedButtonResetDevice();
	afx_msg void OnBnClickedButtonSetAoRangeAll();
	afx_msg void OnBnClickedButtonSetAoChannels();
	afx_msg void OnBnClickedButtonConditionSettings();
	afx_msg void OnBnClickedButtonUserBufferSettings();
	afx_msg void OnBnClickedButtonSetAoEventTransferTimes();
	afx_msg void OnBnClickedButtonGeneratingStart();
	afx_msg void OnBnClickedButtonGetAoTransferCount();
	afx_msg void OnBnClickedButtonGetAoTransferLap();
	afx_msg void OnBnClickedButtonGetAoStatus();
	afx_msg void OnBnClickedButtonGeneratingStop();
	afx_msg void OnBnClickedButtonAioExit();
	afx_msg void OnBnClickedClose();
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
};
