#if !defined(AFX_WAYPOINTCONTROLDLG_H__6C341625_EAF9_4FA3_8B1B_58753C6168C7__INCLUDED_)
#define AFX_WAYPOINTCONTROLDLG_H__6C341625_EAF9_4FA3_8B1B_58753C6168C7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WaypointControlDlg.h : header file
//

#include "DataRecipient.h"
#include "amsEdit.h"

#include "StatusStatic.h"

class CDashboardRecipient;

/////////////////////////////////////////////////////////////////////////////
// CWaypointControlDlg dialog

class CWaypointControlDlg : public CDialog, public CDataRecipient
{
// Construction
public:
	CWaypointControlDlg(CWnd* pParent = NULL);   // standard constructor
	void onReinit();
	
	void setRecipient(CDashboardRecipient *recipient)
		{ m_recipient = recipient; };

	void setControlExecute(CString str);
	
	void requestUpdate();
	void stopUpdate();

// Dialog Data
	//{{AFX_DATA(CWaypointControlDlg)
	enum { IDD = IDD_WAYPOINTCONTROL_DLG };
	CAMSNumericEdit	m_northingsCtrl;
	CAMSNumericEdit	m_longitudeCtrl;
	CAMSNumericEdit	m_latitudeCtrl;
	CAMSNumericEdit	m_eastingsCtrl;
	BOOL	m_underway;
	CString	m_circleRad;
	CString	m_depth;
	CString	m_duration;
	CString	m_rpm;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWaypointControlDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	virtual BOOL OnInitDialog();

	CDashboardRecipient *m_recipient;

	Boolean m_inUTMMode;

	CStatusStatic m_wayConStatus;

	// Generated message map functions
	//{{AFX_MSG(CWaypointControlDlg)
	afx_msg void OnWcInit();
	afx_msg void OnWcStop();
	afx_msg void OnGeoMode();
	afx_msg void OnUtmMode();
	virtual void OnOK();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WAYPOINTCONTROLDLG_H__6C341625_EAF9_4FA3_8B1B_58753C6168C7__INCLUDED_)
