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

#pragma once
#include "afxwin.h"


// CSingleAiDlg _CAO
class CSingleAiDlg : public CDialog
{
// RXgNV
public:
	CSingleAiDlg(CWnd* pParent = NULL);	// WRXgN^
	void ShowRemoteStatus(void);

// _CAO f[^
	enum { IDD = IDD_SINGLEAI_DIALOG };

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


// 
protected:
	HICON m_hIcon;

	// ꂽAbZ[W蓖Ċ֐
	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();

private:
	//֐̖߂l
	long	Ret, Ret2;
	//ID
	short	Id;
	//G[R[h
	char	ErrorString[256];
	TCHAR	szErrorString[256];
	//񏑎쐬p
	CString	TextString;

public:
	CComboBox m_DeviceName;
	CComboBox m_AiRange;
	CEdit m_AiChannel;
	CStatic m_ErrorString;
	CStatic m_Start;
	CStatic m_Err;
	afx_msg void OnBnClickedButtonAioexit();
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedButtonAiosingleai();
	afx_msg void OnCbnSelchangeComboAiosetairange();
	CStatic m_Cdata;
	CStatic m_Volt;
};
