#ifndef INIR_PARAMETER_HEAD_FILE
#define INIR_PARAMETER_HEAD_FILE

#pragma once

#include "Stdafx.h"

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

//ò
class CInitParameter
{
	//ϵͳ
public:
	BYTE							m_cbDelayList;						//ʱб
	WORD							m_wMaxConnect;						//
	WORD							m_wServicePort;						//˿
	TCHAR							m_szServerName[LEN_SERVER];			//

	//ʱ
public:
	WORD							m_wConnectTime;						//ʱ
	WORD							m_wCollectTime;						//ͳʱ
	WORD							m_wLoadListTime;					//бʱ
	WORD							m_wReLoadListTime;					//бʱ

	//ͻʱ
public:
	WORD							m_wIntermitTime;					//жʱ
	WORD							m_wOnLineCountTime;					//ʱ

	//ЭϢ
public:
	WORD							m_wCorrespondPort;					//Э˿
	tagAddressInfo					m_CorrespondAddress;				//Эַ

	//ַ
public:
	tagAddressInfo					m_ServiceAddress;					//ַ
	tagDataBaseParameter			m_AccountsDBParameter;				//ӵַ
	tagDataBaseParameter			m_TreasureDBParameter;				//ӵַ
	tagDataBaseParameter			m_PlatformDBParameter;				//ӵַ

	//
public:
	//캯
	CInitParameter();
	//
	virtual ~CInitParameter();

	//ܺ
public:
	//ʼ
	VOID InitParameter();
	//
	VOID LoadInitParameter();
};

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

#endif
