//{{AFX_INCLUDES()
#include "cwknob.h"
#include "cwslide.h"
#include "indicator2.h"
//}}AFX_INCLUDES
#if !defined(AFX_DEPTHSENSORDLG_H__D5E4F2C2_3B37_4F34_AC3A_9413573B057A__INCLUDED_)
#define AFX_DEPTHSENSORDLG_H__D5E4F2C2_3B37_4F34_AC3A_9413573B057A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DepthSensorDlg.h : header file
//
#include "DataRecipient.h"
#include "DeviceDlg.h"
#include "StatusStatic.h"
#include "TestDlg.h"

class CDashboardRecipient;

/////////////////////////////////////////////////////////////////////////////
// CDepthSensorDlg dialog

class CDepthSensorDlg : public CTestDlg
{
// Construction
public:
	CDepthSensorDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDepthSensorDlg)
	enum { IDD = IDD_DEPTHSENSOR_DIALOG };
	CCWKnob	m_depth;
	double	m_depthIndicator;
	CCWKnob	m_pressure;
	double	m_pressureIndicator;
	CCWSlide	m_temperature;
	double	m_temperatureIndicator;
	double	m_pressureIndicator2;
	//}}AFX_DATA

	// My public members
	void requestUpdate();
	void stopRequests();
	void resetDialog();

	void setDepthSensor(double depth, double temperature, double pressure);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDepthSensorDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// My members
	void initSubClassDlg();

	// Generated message map functions
	//{{AFX_MSG(CDepthSensorDlg)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DEPTHSENSORDLG_H__D5E4F2C2_3B37_4F34_AC3A_9413573B057A__INCLUDED_)
