#include "StdAfx.h"
|
#include "CHLightControls/LightControl_Simulation.h"
|
|
|
CLightControl_Simulation::CLightControl_Simulation(int nIndex) : CLightControl(nIndex)
|
{
|
}
|
|
CLightControl_Simulation::~CLightControl_Simulation(void)
|
{
|
}
|
|
BOOL CLightControl_Simulation::Connect(const CLightControlInfo& controlInfo)
|
{
|
m_ControlInfo = controlInfo;
|
return TRUE;
|
}
|
|
void CLightControl_Simulation::Disconnect()
|
{
|
|
}
|
|
LONG CLightControl_Simulation::ConnectEx( const CLightControlInfo& controlInfo )
|
{
|
return TRUE;
|
}
|
|
void CLightControl_Simulation::DisconnectEx()
|
{
|
|
}
|
|
|
BOOL CLightControl_Simulation::GetLightLevel(int &nValue, int nChannel) const
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::GetLightLevel(double &dValue, int nChannel) const
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::GetLightStatus(int &nValue, int nChannel) const
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightLevel(int nValue, int nChannel)
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightLevel(double dValue, int nChannel)
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightStatus(int nValue, int nChannel)
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightOn()
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightOff()
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightOn(int Channel)
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightOff(int Channel)
|
{
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightAllOn()
|
{
|
if (!m_bConnected) return FALSE;
|
|
return TRUE;
|
}
|
|
BOOL CLightControl_Simulation::SetLightAllOff()
|
{
|
if (!m_bConnected) return FALSE;
|
|
return TRUE;
|
}
|