﻿
// AoGeneratingOnceDevDlg.h : header file
//

#pragma once
#include "afxwin.h"


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

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_AOGENERATINGONCEDEV_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_clock;
	CEdit m_ao_generating_times;
	CEdit m_ao_generating_count;
	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 OnBnClickedButtonSetAoSamplingClock();
	afx_msg void OnBnClickedButtonSmpBasicSettings();
	afx_msg void OnBnClickedButtonOutputDataGenerate();
	afx_msg void OnBnClickedButtonSetAoSamplingDataEx();
	afx_msg void OnBnClickedButtonGeneratingStart();
	afx_msg void OnBnClickedButtonGetAoSamplingCount();
	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);
};
