﻿
// TimerDlg.h : header file
//

#pragma once
#include "afxwin.h"


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

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_TIMER_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;
	CEdit m_interval;
	CEdit m_event_count;
	CEdit m_lap_time;
	CEdit m_return_code;
	afx_msg void OnBnClickedButtonAioInit();
	afx_msg void OnBnClickedButtonAioResetDev();
	afx_msg void OnBnClickedButtonIntervalStart();
	afx_msg void OnBnClickedButtonIntervalStop();
	afx_msg void OnBnClickedButtonWatchStart();
	afx_msg void OnBnClickedButtonLapTmCount();
	afx_msg void OnBnClickedButtonResetTmCount();
	afx_msg void OnBnClickedButtonWatchStop();
	afx_msg void OnBnClickedButtonAioExit();
	afx_msg void OnBnClickedClose();
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
};
