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

#pragma once

//--------------------------------------
// WőTv`F1024Tv
//--------------------------------------
#define	MAX_SAMPLES		1024

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

// _CAO f[^
	enum { IDD = IDD_LOADCONFIG_DIALOG };
	CStatic	m_Status;
	CEdit	m_Info;
	CEdit	m_DeviceInfo;
	CEdit	m_DeviceName;

	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()
public:
	afx_msg void OnBnClickedButtonInit();
	afx_msg void OnBnClickedButtonLoad();
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonInfo();
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedButtonExit();
	afx_msg void OnDestroy();
	afx_msg void OnClose();

	void DrawGraph();					// Ot`֐

	short	m_Id;						// foCXID
	float	m_Data[MAX_SAMPLES];		// 擾f[^̔z
	long	m_Records;					// 擾R[h
	float	m_Range;					// ͓dW
	long	m_RecordLength;				// R[h
	short	m_TriggerChannel;			// |XggK`l
	short	m_Channels;					// L`l
};
