#if !defined(AFX_DLG7KMULTITAB_H__2444496C_3E69_48C7_87D6_4530F0C422D1__INCLUDED_)
#define AFX_DLG7KMULTITAB_H__2444496C_3E69_48C7_87D6_4530F0C422D1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Dlg7KMultitab.h : header file
//

#include "7KSonarTabCtrl.h"

/////////////////////////////////////////////////////////////////////////////
// CDlg7KMultitab dialog

//#include "Dlg7KSonarParams.h"

class CDlg7KMultitab : public CDialog
{
// Construction
public:
	CDlg7KMultitab(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDlg7KMultitab)
	enum { IDD = IDD_DLG_7KMULTITAB };
	C7KSonarTabCtrl		m_ctrl7KSonarTabs;
	//}}AFX_DATA

	void			SetSensorIndex		(	UINT			index );

	//These are the passthrough functions to manually update the
	//settings in the 7K control tabs.  The settings are updates
	//when another client makes changes to the system, etc.
	void			UpdateRange			(	double			range );
	void			UpdatePower			(	double			power );
	void			UpdatePulse			(	double			pulseWidth );
	void			UpdateMaxRate		(	double			maxRate );
	void			UpdateGain			(	double			gain );
	void			UpdatePingState		(	BOOL			pingState );
	void			UpdateFilters		(	float			minRange, 
											float			maxRange,
											float			minDepth, 
											float			maxDepth,
											BOOL			state );
	
	void			InitControlTab		(	void );

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDlg7KMultitab)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDlg7KMultitab)
	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_DLG7KMULTITAB_H__2444496C_3E69_48C7_87D6_4530F0C422D1__INCLUDED_)
