You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
582 B
34 lines
582 B
#include "stdafx.h"
|
|
#include "DDopler.h"
|
|
|
|
CLgDeviceDopler::CLgDeviceDopler()
|
|
{
|
|
|
|
}
|
|
|
|
CLgDeviceDopler::~CLgDeviceDopler()
|
|
{
|
|
|
|
}
|
|
|
|
BOOL CLgDeviceDopler::CmdSetDopler( BOOL bEnable, PTZ_DEGREE dPanStep, DWORD dwTimeout )
|
|
{
|
|
// check availibility
|
|
if( !DoCmd( CMD_SET_DOPLER ) )
|
|
return FALSE;
|
|
|
|
// store command data
|
|
m_Dopler.bEnable = bEnable;
|
|
m_Dopler.dPanStep = dPanStep;
|
|
m_Dopler.dwTimeout = dwTimeout;
|
|
return TRUE;
|
|
}
|
|
|
|
BOOL CLgDeviceDopler::CmdGetDopler()
|
|
{
|
|
// check availibility
|
|
if( !DoCmd( CMD_GET_DOPLER ) )
|
|
return FALSE;
|
|
|
|
return TRUE;
|
|
}
|