/**************************************************************************
<MODULE NAME>
<FILENAME></FILENAME>
<HISTORY>
	<MODIFICATION>
		<DATE></DATE>
		<AUTHOR></AUTHOR>
		<DESCRIPTION>
		</DESCRIPTION>
	</MODIFICATION>
</HISTORY>
</MODULE NAME>
**************************************************************************/


/**************************************************************************
INCLUDE FILE
**************************************************************************/
#include <stdio.h>
#include "..\comp\CardRead\StMchDig\StateDig.h"
#include "..\comp\cardread\CdRdIDig.h"
/**************************************************************************
LOCAL VARIABLES
Always start with « static »-keyword
**************************************************************************/
//CStateMachineDigCard* CStateMachineDigCard::m_pcInstance = NULL;
#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME>CStateMachineDigCard</NAME>
	<TYPE> LOCAL  GLOBAL </TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</ IO >
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
</METHOD>
**************************************************************************/
CStateMachineDigCard::CStateMachineDigCard()
{
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::CStateMachineDigCard");
#endif
	;
}


/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME>~CStateMachineDigCard</NAME>
	<TYPE> LOCAL | GLOBAL </TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO>IN | OUT | INOUT</ IO >
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
</METHOD>
**************************************************************************/
CStateMachineDigCard::~CStateMachineDigCard()
{
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::~CStateMachineDigCard");
#endif
	;
}


/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::ChangeState(CCardReaderDig* pcParent, CStateMachineDigCard* pcState)
{
	int iResult = ERROR_CHANGE_STATE;
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::ChangeState");
#endif
	if(pcState != NULL)
	{
		iResult = pcParent->ChangeState(pcState);
	}
	return iResult;
}

#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::SendCommand(CCardReaderDig* pcParent, char* szCommand)
{
	int iResult = ERROR_NONE_AVAILABLE;

#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::SendCommand");
#endif
	
	return iResult;
}

#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::CancelCommand(CCardReaderDig* pcParent)
{
	int iResult = ERROR_NONE_AVAILABLE;
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::CancelCommand");
#endif
	return iResult;
}

#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::ReceiveTimeOut(CCardReaderDig* pcParent)
{
	int iResult = ERROR_NONE_AVAILABLE;
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::ReceiveTimeOut");
#endif
	return iResult;
}

#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::ReceiveAck(CCardReaderDig* pcParent)
{
	int iResult = ERROR_NONE_AVAILABLE;
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::ReceiveAck");
#endif
	return iResult;
}

#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::ReceiveNack(CCardReaderDig* pcParent)
{
	int iResult = ERROR_NONE_AVAILABLE;
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::ReceiveNack");
#endif
	return iResult;
}

#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::ReceiveDleEot(CCardReaderDig* pcParent)
{
	int iResult = ERROR_NONE_AVAILABLE;
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::ReceiveDleEot");
#endif
	return iResult;
}

#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::WaitResponce(CCardReaderDig* pcParent)
{
	int iResult = ERROR_NONE_AVAILABLE;
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::WaitResponce");
#endif
	return iResult;
}

#pragma argsused
/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE >LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</IO>
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
int CStateMachineDigCard::WaitAck(CCardReaderDig* pcParent)
{
	int iResult = ERROR_NONE_AVAILABLE;
#ifdef STESUD_TRACE
	CTrace::Instance()->Show("CStateMachineDigCard::WaitAck");
#endif
	return iResult;
}

/**************************************************************************
<METHOD>
	<CLASS>CStateMachineDigCard</CLASS>
	<NAME></NAME>
	<TYPE>LOCAL | GLOBAL</TYPE>
	<DESCRIPTION></DESCRIPTION>
	<PARAMETERS>
		<PARAMETER>
			<NAME></NAME>
			<TYPE></TYPE>
			<IO> IN | OUT | INOUT</ IO >
			<DESCRIPTION>
			</DESCRIPTION>
		</PARAMETER>
	</PARAMETERS>
	<RETURNS>
		<TYPE></TYPE>
		<DESCRIPTION>
		</DESCRIPTION>
	</RETURNS>
</METHOD>
**************************************************************************/
