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

#pragma once

#define		CHANNEL_NUM		8
#define		DATA_NUM		1000

extern short			M_Id, S_Id;
extern unsigned long	M_NotifyCount, S_NotifyCount;
extern short			M_IsRing, S_IsRing;

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

// _CAO f[^
	enum { IDD = IDD_SYNC_DIALOG };
	CEdit	m_SDeviceName;
	CEdit	m_MDeviceName;
	CEdit	m_SStatus;
	CEdit	m_MStatus;
	CEdit	m_SRet;
	CEdit	m_MRet;
	CEdit	m_SError;
	CEdit	m_MError;
	CEdit	m_SCount;
	CEdit	m_MCount;

	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()
	virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
public:
	afx_msg void OnClose();
	afx_msg void OnBnClickedButtonMInit();
	afx_msg void OnBnClickedButtonSInit();
	afx_msg void OnBnClickedButtonMCntmode();
	afx_msg void OnBnClickedButtonSCntmode();
	afx_msg void OnBnClickedButtonMSmpmode();
	afx_msg void OnBnClickedButtonSSmpmode();
	afx_msg void OnBnClickedButtonMStart();
	afx_msg void OnBnClickedButtonSStart();
	afx_msg void OnBnClickedButtonMStop();
	afx_msg void OnBnClickedButtonSStop();
	afx_msg void OnBnClickedButtonMData();
	afx_msg void OnBnClickedButtonSData();
	afx_msg void OnBnClickedButtonMCount();
	afx_msg void OnBnClickedButtonSCount();
	afx_msg void OnBnClickedButtonMStatus();
	afx_msg void OnBnClickedButtonSStatus();
	afx_msg void OnBnClickedButtonMExit();
	afx_msg void OnBnClickedButtonSExit();
	afx_msg void OnBnClickedButtonExit();
};
