#if !defined(AFX_TPGEN_H__D3873720_9DAF_11D6_9D64_A6C7C6792E04__INCLUDED_)
#define AFX_TPGEN_H__D3873720_9DAF_11D6_9D64_A6C7C6792E04__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// tpgen.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// tpgen dialog

class tpgen : public CDialog
{
   int lo;
   int hi;

   void getVal(CEdit &fld);
   int  pctFromAdc(int adc);
   void writeFile();

public:
	tpgen(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(tpgen)
	enum { IDD = IDD_TPINC };
	CEdit	m_tp_lo;
	CEdit	m_tp_hi;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(tpgen)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(tpgen)
	virtual void OnOK();
	afx_msg void OnGetLo();
	afx_msg void OnGetHi();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TPGEN_H__D3873720_9DAF_11D6_9D64_A6C7C6792E04__INCLUDED_)

