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

#pragma once

//--------------------------------------
// WőTv`F512Tv
//--------------------------------------
#define	MAX_SAMPLES		512

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

// _CAO f[^
	enum { IDD = IDD_WAVEFORMJUDGEMENT2_DIALOG };
	CRichEditCtrl	m_EditData;
	CStatic			m_JudgeCount;
	CStatic			m_Status;
	CEdit			m_Info;
	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 OnBnClickedButtonSetting();
	afx_msg void OnBnClickedButtonStart();
	afx_msg void OnBnClickedButtonInfo();
	afx_msg void OnBnClickedButtonStop();
	afx_msg void OnBnClickedButtonExit();
	afx_msg void OnDestroy();
protected:
	short	m_Id;						// foCXID
	float	m_Data[MAX_SAMPLES];		// 擾f[^̔z
	float	m_UpperData[MAX_SAMPLES];	// g`f[^̔z
	float	m_LowerData[MAX_SAMPLES];	// g`艺f[^̔z
	short	m_Judge[MAX_SAMPLES];		// g`茋ʂ̔z
	short	m_JudgeDetail[MAX_SAMPLES];	// g`茋ʏڍׂ̔z
	long	m_Records;					// 擾R[h
};
