// TailconeGUIDlg.h : header file
//

#if !defined(AFX_TAILCONEGUIDLG_H__44693BBB_FFBA_4252_A41F_F14BDC9EE513__INCLUDED_)
#define AFX_TAILCONEGUIDLG_H__44693BBB_FFBA_4252_A41F_F14BDC9EE513__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CTailconeGUIDlg dialog

class CTailconeGUIDlg : public CDialog
{
// Construction
public:
	CTailconeGUIDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CTailconeGUIDlg)
	enum { IDD = IDD_TAILCONEGUI_DIALOG };
	CButton	m_butPropEnabled;
	CButton	m_butPositionError;
	CButton	m_butRevEn;
	CButton	m_butAtSpeed;
	CButton	m_butDisconnect;
	CButton	m_butConnect;
	CEdit	m_wndSpeedSetting;
	CEdit	m_wndCurEleAng;
	CEdit	m_wndCurRudAng;
	CEdit	m_wndCurPropRPM;
	CSliderCtrl	m_sliderSpeed;
	CButton	m_buttonRudEn;
	CSliderCtrl	m_sliderRudAng;
	CButton	m_buttonPropEn;
	CButton	m_buttonEleEn;
	CSliderCtrl	m_sliderEleAng;
	double	m_fEleAngSetting;
	double	m_fRudAngSetting;
	int		m_nSpeedSetting;
	int		m_nCmdLim;
	int		m_nKd;
	int		m_nKi;
	int		m_nKp;
	int		m_nPlim;
	int		m_nIlim;
	int		m_nAccel;
	int		m_nDeadband;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTailconeGUIDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CTailconeGUIDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnCustomdrawSpeedSlider(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomdrawEleAngSlider(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomdrawRudAngSlider(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnEnableAll();
	afx_msg void OnDisableAll();
	afx_msg void OnElevatorEnable();
	afx_msg void OnPropEnable();
	afx_msg void OnRudderEnable();
	afx_msg void OnConnect();
	afx_msg void OnDisconnect();
	afx_msg void OnUpdate();
	afx_msg void OnUpdateDisplay();
	afx_msg void OnSettings();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();
	afx_msg void OnKillfocusKp();
	afx_msg void OnKillfocusPlim();
	afx_msg void OnKillfocusKi();
	afx_msg void OnKillfocusKd();
	afx_msg void OnKillfocusIlim();
	afx_msg void OnKillfocusCmdlim();
	afx_msg void OnKillfocusAccel();
	afx_msg void OnKillfocusDeadband();
	afx_msg void OnTester();
	afx_msg void OnPosErr();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TAILCONEGUIDLG_H__44693BBB_FFBA_4252_A41F_F14BDC9EE513__INCLUDED_)
