// MultiAiDlg.h : header file
//

#pragma once
#include "afxwin.h"


// CMultiAiDlg dialog
class CMultiAiDlg : public CDialog
{
// Construction
public:
	CMultiAiDlg(CWnd* pParent = NULL);	// standard constructor
	void ShowRemoteStatus(void);

// Dialog Data
	enum { IDD = IDD_MULTIAI_DIALOG };

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

private:
	//Return value of function
	long	Ret, Ret2;
	//ID
	short	Id;
	//ErrorCode string
	char	ErrorString[256];
	TCHAR	szErrorString[256];
	//Used to format string
	CString	TextString;
	CString	TextTemp;

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonAioinit();
	afx_msg void OnCbnSelchangeComboAiosetairange();
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedButtonAiomultiai();
	afx_msg void OnBnClickedButtonAioexit();
	CComboBox m_DeviceName;
	CComboBox m_AiRange;
	CStatic m_ErrorString;
	CStatic m_Cdata;
	CEdit m_AiChannels;
	CStatic m_AiChannel;
	CStatic m_Volt;
	CStatic m_Start;
	CStatic m_Err;
};
