#ifndef _CALLINGCARD_H

#define _CALLINGCARD_H

#include "voiceID.h"

enum _CALLING_CARD_OPERATION
{
	ExitCallingCard = 0,
	MakeCall = 1,
	InquiryBlance,
	RechargeAccout,
	ChangePassword,
	TransferAccount
};


#ifndef pin_mng_keep_state_value
#define pin_mng_keep_state_value
typedef enum pin_mng_retval
{
	pin_mng_keep_state = 0,
	pin_mng_exit,
	pin_mng_exit_to_main_menu,
}_pin_mng_retval;
#endif

enum callingCardMainState
{
	entryCallingCard = 0,
	sendMainMenu,
	chooseFunction,
	runFunction,	
	exitCallingCardSys
};

enum entryCallingCardState
{
	callingCardIdle = 0,
	returnMainMenu,
	inputCallingCardAccount = 2,
	waitForCallingCardAccount,
	inputCallingCardAccountPassword,
	checkCallingCardAccountPassword,
	entrySuccess
};

enum makeCallState
{
	requireInputCalledNumber = 2,
	waitForCalledNumber,
	requireRouteCalled,
	waitSpecialResourceReport,
	waitForRouteResult,	
};

enum rechargeAccountState
{
	rechargeAccount = 2
};

enum inquiryAccountSate
{
	inquiryAccount = 2
};

enum transferAccountState
{
	inputTransferOutAccount = 2,
	waitForInputTransferOutAccount,
	inputTransferOutAccountPassword,
	waitForInputTransferOutAccountPassword,
	checkTransferOutAccountPassword,
	transferToCurrentAccount,
	transferSuccess,
	transferFail
};


#endif 

