#if !defined(AFX_TOLBRCHIPDUTY_H__944A9751_885D_11D3_AE66_00C0F6B0E2D0__INCLUDED_)
#define AFX_TOLBRCHIPDUTY_H__944A9751_885D_11D3_AE66_00C0F6B0E2D0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TolBrChipDuty.h : _xZkqqHx_iDhHiDgCiDfPiBfL_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "ChipEditorDoc.h"	// For FTChipDuty.
#include "TolBrBase.h"		// Superclass.

/////////////////////////////////////////////////////////////////////////////
// CFCTolBrChipDuty _xZkqqHx_iDeFiDeCiDjDiDgIiDeF_xHqqkZx_

enum FTGateCmd;

class CFCTolBrChipDuty : public CFCTolBrBase
{
protected:
typedef CFCTolBrBase BASE_CLASS;

// _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfGiDiHiDjD_xHqqkZx_
public:
	CFCTolBrChipDuty();

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual BOOL	Initialize ();		// _xZkqqHx_iPiJiKpKiJlLiClHiCoJiBeC_xHqqkZx_
	virtual void	EnableSelect (BOOL bEnable);
										// _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCpAjBeJjBpAiJmCjEfMiCkJiCmHiCkEiCkJjAnNjCoIiBeC_xHqqkZx_
protected:
	virtual void	ObjSelectNotify ();	// _xZkqqHx_jBeJjBpAjCiGiCmMjFjEjFgJiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJiOmAiNhDiBeC_xHqqkZx_
	virtual void	DutyTblUpdateNotify (); // _xZkqqHx_jGpAiKiEiDgFiBfLiDhFiDiLiCmMiNfIjAfGiOjOiCmJiOmAiNhDiBeC_xHqqkZx_
	virtual const FCCmbButtonInfo&	GetCmbButtonInfo (long lIndex);
	virtual void	OnCmdSessionEnded ();
	virtual void	OnCommandCalled (FTGateCmd gateCmd, LPARAM lParam);
	virtual void	OnInitContents ();
	virtual void	OnObjSelectChanged ();

// _xZkqqHx_iDiGiBfLiDfFiDeJiBfLiDgPiBfLiDiJiDeDiDgIiBeC_xHqqkZx_
protected:
//	virtual CSize CalcFixedLayout (BOOL bStretch, BOOL bHorz);

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
	CComboBox	m_cmbLinkDutyId;		// _xZkqqHx_iDiKiDjDiDeOjGpAiKiEjBkOjAkLiCmM_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
	CComboBox	m_cmbTextDutyId;		// _xZkqqHx_iDgFiDeMiDfIiDgHjGpAiKiEjBkOjAkLiCmM_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
	BOOL		m_bUpdateDutyTable;

// _xZkqqHx_iDeBiDgHiDiKiDhCiDiFiBfLiDgH_xHqqkZx_
public:

// _xZkqqHx_iDeJiDhJiDiMiBfLiDfGiDiHiDjD_xHqqkZx_
public:

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_

	//{{AFX_VIRTUAL(CFCTolBrChipDuty)
	//}}AFX_VIRTUAL

// _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_
public:
	virtual ~CFCTolBrChipDuty();

	// _xZkqqHx_jAlGjAkMiClDiCoKiClNiDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDhNiDgCiDhGiKnGjAjE_xHqqkZx_
protected:
	//{{AFX_MSG(CFCTolBrChipDuty)
	//}}AFX_MSG
	afx_msg void OnSelchangeChipeditCmbMolipDutyId();
	afx_msg void OnSelchangeChipeditCmbTextDutyId();
	DECLARE_MESSAGE_MAP()
}; // class CFCTolBrChipDuty.

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ _xZkqqHx_iCmNjBePiNhDiCmMjClMjBePiCmJjCmHiJmBiCmMjAoJiMlOiCpAjBhNjDpMiClFiCnMiClHiBeC_xHqqkZx_

#endif // !defined(AFX_TOLBRCHIPDUTY_H__944A9751_885D_11D3_AE66_00C0F6B0E2D0__INCLUDED_)
