/*****************************************************************************
* Copyright (c) 1990-2000 Digi International Inc., All Rights Reserved
* 
* This software contains proprietary and confidential information of Digi
* International Inc.  By accepting transfer of this copy, Recipient agrees
* to retain this software in confidence, to prevent disclosure to others,
* and to make no use of this software other than that for which it was
* delivered.  This is an unpublished copyrighted work of Digi International
* Inc.  Except as permitted by federal law, 17 USC 117, copying is strictly
* prohibited.
* 
* Restricted Rights Legend
*
* Use, duplication, or disclosure by the Government is subject to
* restrictions set forth in sub-paragraph (c)(1)(ii) of The Rights in
* Technical Data and Computer Software clause at DFARS 252.227-7031 or
* subparagraphs (c)(1) and (2) of the Commercial Computer Software -
* Restricted Rights at 48 CFR 52.227-19, as applicable.
*
* Digi International Inc. 11001 Bren Road East, Minnetonka, MN 55343
*
*****************************************************************************/

#if !defined(AFX_PROPPAGEFRACT1_H__10C6343B_5B39_4A12_8998_766F0F0A4983__INCLUDED_)
#define AFX_PROPPAGEFRACT1_H__10C6343B_5B39_4A12_8998_766F0F0A4983__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// PropPageFracT1.h : header file
//

#define SPEED_INDEX_64K 0
#define SPEED_INDEX_56K 1

/////////////////////////////////////////////////////////////////////////////
// CPropPageFracT1 dialog

class CPropPageFracT1 : public CConfigWizPage
{

   DECLARE_DYNCREATE(CPropPageFracT1)

// Construction
public:
	CPropPageFracT1(CConfigObject const * const pOwner = NULL, int const nState = -1, CString const & strTitle = TEXT(""), CString const & strInstruction = TEXT(""));
	void Construct(CConfigObject const * const pOwner = NULL, int const nState = -1, CString const & strTitle = TEXT(""), CString const & strInstruction = TEXT(""));
//	CPropPageFracT1(CWnd* pParent = NULL);   // standard constructor

   void SetBitMaskValues(unsigned long const bmTimeSlots, unsigned long const bmSpeeds);
   void GetBitMaskValues(unsigned long * const pbmTimeSlots, unsigned long * const pbmSpeeds);

protected:
   void CPropPageFracT1::ConvertBitmasksToCtlData(void);
   void CPropPageFracT1::ConvertCtlDataToBitmasks(void);

// Dialog Data
	//{{AFX_DATA(CPropPageFracT1)
	enum { IDD = IDD_PropPageFracT1 };
	CButton	m_cbSpd9;
	CButton	m_cbSpd8;
	CButton	m_cbSpd7;
	CButton	m_cbSpd6;
	CButton	m_cbSpd5;
	CButton	m_cbSpd4;
	CButton	m_cbSpd3;
	CButton	m_cbSpd24;
	CButton	m_cbSpd23;
	CButton	m_cbSpd22;
	CButton	m_cbSpd21;
	CButton	m_cbSpd20;
	CButton	m_cbSpd2;
	CButton	m_cbSpd19;
	CButton	m_cbSpd18;
	CButton	m_cbSpd17;
	CButton	m_cbSpd16;
	CButton	m_cbSpd15;
	CButton	m_cbSpd14;
	CButton	m_cbSpd13;
	CButton	m_cbSpd12;
	CButton	m_cbSpd11;
	CButton	m_cbSpd10;
	CButton	m_cbSpd1;
	CButton	m_cbTs9;
	CButton	m_cbTs8;
	CButton	m_cbTs7;
	CButton	m_cbTs6;
	CButton	m_cbTs5;
	CButton	m_cbTs4;
	CButton	m_cbTs3;
	CButton	m_cbTs24;
	CButton	m_cbTs23;
	CButton	m_cbTs22;
	CButton	m_cbTs21;
	CButton	m_cbTs20;
	CButton	m_cbTs2;
	CButton	m_cbTs19;
	CButton	m_cbTs18;
	CButton	m_cbTs17;
	CButton	m_cbTs16;
	CButton	m_cbTs15;
	CButton	m_cbTs14;
	CButton	m_cbTs13;
	CButton	m_cbTs12;
	CButton	m_cbTs11;
	CButton	m_cbTs10;
	CButton	m_cbTs1;
	BOOL	m_fTs1;
	BOOL	m_fTs10;
	BOOL	m_fTs11;
	BOOL	m_fTs12;
	BOOL	m_fTs13;
	BOOL	m_fTs14;
	BOOL	m_fTs15;
	BOOL	m_fTs16;
	BOOL	m_fTs17;
	BOOL	m_fTs18;
	BOOL	m_fTs19;
	BOOL	m_fTs2;
	BOOL	m_fTs20;
	BOOL	m_fTs21;
	BOOL	m_fTs22;
	BOOL	m_fTs23;
	BOOL	m_fTs24;
	BOOL	m_fTs3;
	BOOL	m_fTs4;
	BOOL	m_fTs5;
	BOOL	m_fTs6;
	BOOL	m_fTs7;
	BOOL	m_fTs8;
	BOOL	m_fTs9;
	int		m_fSpd1;
	int		m_fSpd11;
	int		m_fSpd10;
	int		m_fSpd12;
	int		m_fSpd13;
	int		m_fSpd14;
	int		m_fSpd15;
	int		m_fSpd16;
	int		m_fSpd17;
	int		m_fSpd18;
	int		m_fSpd19;
	int		m_fSpd2;
	int		m_fSpd20;
	int		m_fSpd21;
	int		m_fSpd22;
	int		m_fSpd23;
	int		m_fSpd24;
	int		m_fSpd3;
	int		m_fSpd4;
	int		m_fSpd5;
	int		m_fSpd6;
	int		m_fSpd7;
	int		m_fSpd8;
	int		m_fSpd9;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPropPageFracT1)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPropPageFracT1)
	afx_msg void OnCheckTs1();
	afx_msg void OnCheckTs2();
	afx_msg void OnCheckTs3();
	afx_msg void OnCheckTs4();
	afx_msg void OnCheckTs5();
	afx_msg void OnCheckTs6();
	afx_msg void OnCheckTs7();
	afx_msg void OnCheckTs8();
	afx_msg void OnCheckTs9();
	afx_msg void OnCheckTs10();
	afx_msg void OnCheckTs11();
	afx_msg void OnCheckTs12();
	afx_msg void OnCheckTs13();
	afx_msg void OnCheckTs14();
	afx_msg void OnCheckTs15();
	afx_msg void OnCheckTs16();
	afx_msg void OnCheckTs17();
	afx_msg void OnCheckTs18();
	afx_msg void OnCheckTs19();
	afx_msg void OnCheckTs20();
	afx_msg void OnCheckTs21();
	afx_msg void OnCheckTs22();
	afx_msg void OnCheckTs23();
	afx_msg void OnCheckTs24();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
   unsigned long m_bmTimeSlots;
   unsigned long m_bmSpeeds;

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PROPPAGEFRACT1_H__10C6343B_5B39_4A12_8998_766F0F0A4983__INCLUDED_)
