
// CtlioDlg.h : header file
//

#pragma once


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

// Dialog Data
	enum { IDD = IDD_CTLIO_DIALOG };
	CEdit	m_DeviceName;
	CStatic	m_TextComment;
	CStatic	m_LabelHoldOff;
	CStatic	m_LabelIn7;
	CStatic	m_LabelIn6;
	CStatic	m_LabelIn5;
	CStatic	m_LabelIn4;
	CStatic	m_LabelIn3;
	CStatic	m_LabelIn2;
	CStatic	m_LabelIn1;
	CStatic	m_LabelOut3;
	CStatic	m_LabelOut2;
	CStatic	m_LabelOut1;
	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 OnBnClickedComOut1();
	afx_msg void OnBnClickedComOut2();
	afx_msg void OnBnClickedComOut3();
	afx_msg void OnBnClickedComHoldOff();
	afx_msg void OnBnClickedComErc();
	afx_msg void OnBnClickedComErcClear();
	afx_msg void OnBnClickedComAlarmClear();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnTimer(UINT_PTR nIDEvent);
};
