
// StatusDlg.h : header file
//

#pragma once


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

// Dialog Data
	enum { IDD = IDD_STATUS_DIALOG };
	CStatic	m_TextComment;
	CStatic	m_LabelBank;
	CEdit	m_DeviceName;
	CStatic	m_LabelAlm;
	CStatic	m_LabelPLim;
	CStatic	m_LabelMLim;
	CStatic	m_LabelOrg;
	CStatic	m_LabelSd;
	CStatic	m_LabelStopSts;
	CStatic	m_LabelMoveSts;
	CStatic	m_LabelPulseSts;
	CStatic	m_LabelCountPulse;
	CStatic	m_LabelOutPulse;
	CComboBox	m_ComboTargetAxis;

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;
	void DispComment(TCHAR *func, TCHAR *msg);

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnEnChangeDeviceName();
	afx_msg void OnCbnSelchangeComboTargetAxis();
	afx_msg void OnBnClickedComOutPulse();
	afx_msg void OnBnClickedComEncPulse();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
private:
	void PollingTimer_Timer();
};
