//{{AFX_INCLUDES()
#include "cwknob.h"
#include "cwslide.h"
#include "compass.h"
#include "indicator2.h"
//}}AFX_INCLUDES
#if !defined(AFX_DVLDLG_H__4B00EB32_1666_4CF8_9132_9754744FAABD__INCLUDED_)
#define AFX_DVLDLG_H__4B00EB32_1666_4CF8_9132_9754744FAABD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DvlDlg.h : header file
//
#include "DataRecipient.h"
#include "DeviceDlg.h"
#include "StatusStatic.h"
#include "TestDlg.h"

class CDashboardRecipient;

/////////////////////////////////////////////////////////////////////////////
// CDvlDlg dialog

class CDvlDlg : public CTestDlg
{
// Construction
public:
	CDvlDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDvlDlg)
	enum { IDD = IDD_DVL_DIALOG };
	double	m_range;
	double	m_range1;
	double	m_range2;
	double	m_range3;
	double	m_range4;
	double	m_velocity1;
	double	m_velocity2;
	double	m_velocity3;
	double	m_velocity4;
	CCWKnob	m_vx;
	double	m_vxIndicator;
	CCWKnob	m_vy;
	double	m_vyIndicator;
	CCWKnob	m_vz;
	double	m_vzIndicator;
	double	m_roll;
	double	m_pitch;
	CCWSlide	m_tempControl;
	double	m_heading;
	double	m_pitch2;
	double	m_roll2;
	double	m_heading2;
	//}}AFX_DATA

	// My functions
	void requestUpdate();
	void stopRequests();
	void resetDialog();

	void setDvl(double vx, double vy, double vz, double range);
	void setDvlBeamVelocities(double v1, double v2, double v3, double v4);
	void setDvlBeamRanges(double r1, double r2, double r3, double r4);
	void setDvlAttTemp(double roll, double pitch, double yaw, double temp);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDvlDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// My members
	void initSubClassDlg();

	// Generated message map functions
	//{{AFX_MSG(CDvlDlg)
	afx_msg void OnCancelMode();
	afx_msg void OnSlave();
	afx_msg void OnSlaveoff();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DVLDLG_H__4B00EB32_1666_4CF8_9132_9754744FAABD__INCLUDED_)
