
// IntervalDlg.h : wb_[ t@C
//

#pragma once


// CIntervalDlg _CAO
class CIntervalDlg : public CDialogEx
{
// RXgNV
public:
	CIntervalDlg(CWnd* pParent = NULL);	// WRXgN^[

// _CAO f[^
	enum { IDD = IDD_INTERVAL_DIALOG };
	CEdit m_edit_device_name;
	CStatic m_static_product_name;
	CEdit m_edit_interval;
	CStatic m_static_msg_count;		
	CEdit m_edit_ret;
	CButton m_btn_tim_start_timer;
	CButton m_btn_tim_stop_timer;

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV T|[g


// 
protected:
	HICON m_hIcon;

	// ꂽAbZ[W蓖Ċ֐
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()

	short			TimerId;
	unsigned long	interval_count;

public:
	afx_msg void OnBnClickedButtonTimInit();
	afx_msg void OnBnClickedButtonTimStartTimer();
	afx_msg void OnBnClickedButtonTimStopTimer();
	afx_msg void OnBnClickedButtonTimExit();
	afx_msg void OnBnClickedButtonExit();

protected:
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);

};
