﻿
// CounterDlg.h : header file
//

#pragma once
#include "afxwin.h"


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

// Dialog Data
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_COUNTER_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_channel_no;
	CEdit m_preset_data;
	CEdit m_count;
	CEdit m_status;
	CEdit m_event_count;
	CEdit m_return_code;
	afx_msg void OnBnClickedButtonAioInit();
	afx_msg void OnBnClickedButtonAioResetDev();
	afx_msg void OnEnChangeEditChannelNo();
	afx_msg void OnBnClickedButtonSetting();
	afx_msg void OnBnClickedButtonPresetCnt();
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonGetCntCount();
	afx_msg void OnBnClickedButtonGetCntStatus();
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedButtonAioExit();
	afx_msg void OnBnClickedClose();
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
};
