//{{AFX_INCLUDES()
//}}AFX_INCLUDES
#if !defined(AFX_DRUNTIME_H__EEA60A78_4090_11D5_8540_000000000000__INCLUDED_)
#define AFX_DRUNTIME_H__EEA60A78_4090_11D5_8540_000000000000__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

// $Id$

//*****************************************
//******** PC Configurator V1.00 **********
//*** (C) - 2001 B.Bowling/A. Grippo ******
//** All derivatives from this software ***
//**  are required to keep this header ****
//*****************************************

#include "veconst.h"

/////////////////////////////////////////////////////////////////////////////
// Druntime dialog

class Druntime:public CDialog
{
// Construction
 public:
      Druntime(CWnd * pParent = NULL);                  // standard constructor

// Dialog Data
   //{{AFX_DATA(Druntime)
	enum { IDD = IDD_RUNTIME };
	CStatic	m_matLabel;
	CStatic	m_coolantLabel;
	//}}AFX_DATA


// Overrides
   // ClassWizard generated virtual function overrides
   //{{AFX_VIRTUAL(Druntime)
	public:
	virtual BOOL DestroyWindow();
	protected:
      virtual void   DoDataExchange(CDataExchange * pDX);  // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
private:
   enum { on = 1, off = 0 };
   void timer(int state);

   void setFld(int, int, double, int=0);
   void updateDisplay(unsigned char runtimevars[]);

   enum { Rdcc = Rget }; // Same as Rget, fake in one past end of runtime vars.
   CEdit         *box[Rget+1];
   CProgressCtrl *bar[Rget+1];

   CEdit         *connected;

protected:

   // Generated message map functions
   //{{AFX_MSG(Druntime)
      virtual BOOL OnInitDialog();
      afx_msg void   OnTimer(UINT nIDEvent);
      DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
      DECLARE_MESSAGE_MAP()
};


//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DRUNTIME_H__EEA60A78_4090_11D5_8540_000000000000__INCLUDED_)

