#if !defined(AFX_7KSONARTABCTRL_H__F469E187_FDB2_4A15_8D6B_D4D2506317A0__INCLUDED_)
#define AFX_7KSONARTABCTRL_H__F469E187_FDB2_4A15_8D6B_D4D2506317A0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 7KSonarTabCtrl.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// C7KSonarTabCtrl window

#define NUM_TABSS 2

class C7KSonarTabCtrl : public CTabCtrl
{
// Construction
public:
	C7KSonarTabCtrl();

	//TAB MANAGER DLG CONTAINER
	CDialog			*m_tabPages[NUM_TABSS];

	//TAB MANAGER VARIABLES
    int				m_tabCurrent;

	//TAB MANAGER FXNS
	void			Init				(	void );
	
	void			SetRect				(	void );

	void			Cleanup				(	void );

	//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			InitControlTab		(	void );
	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			Set7KIndex			(	int		index );

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(C7KSonarTabCtrl)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~C7KSonarTabCtrl();

	// Generated message map functions
protected:
	//{{AFX_MSG(C7KSonarTabCtrl)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_7KSONARTABCTRL_H__F469E187_FDB2_4A15_8D6B_D4D2506317A0__INCLUDED_)
