#include "StdAfx.h"
|
#include "VcrControl_Simulation.h"
|
|
|
CVcrControl_Simulation::CVcrControl_Simulation(int nIndex) : CVcrControl(nIndex)
|
{
|
}
|
|
CVcrControl_Simulation::~CVcrControl_Simulation(void)
|
{
|
}
|
|
BOOL CVcrControl_Simulation::Connect(const CVcrControlInfo& controlInfo)
|
{
|
m_ControlInfo = controlInfo;
|
return TRUE;
|
}
|
|
void CVcrControl_Simulation::Disconnect()
|
{
|
|
}
|
|
|
BOOL CVcrControl_Simulation::GetDecodeStatus(BOOL &bValue)
|
{
|
if (!m_bConnected) return FALSE;
|
|
bValue = m_bDecode;
|
|
return TRUE;
|
}
|
|
BOOL CVcrControl_Simulation::GetDecodeData(CString &strValue)
|
{
|
if (!m_bConnected) return FALSE;
|
|
return TRUE;
|
}
|
|
BOOL CVcrControl_Simulation::GetReadSize(int &readSize)
|
{
|
return TRUE;
|
}
|
|
BOOL CVcrControl_Simulation::DecodeTriggerSignal()
|
{
|
if (!m_bConnected) return FALSE;
|
|
|
return TRUE;
|
}
|