For DOS Protected Mode version of sensor core software
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.
|
|
#include "..\stdafx.h"
#ifdef __BORLANDC__
#include "..\LgLib\Version.h"
#include "..\LgLib\Device\DDopler.h"
#else
#include "..\Version.h"
#include "DDopler.h"
#endif
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;}
bool CLgDeviceDopler::CmdSetDoplerMask( PDOPLER_MASK_ARRAY pMask ){ // check availibility
if( !DoCmd( CMD_SET_DOPLER_MASK ) ) return false;
// store command data
m_Mask = *pMask; return true;}
bool CLgDeviceDopler::CmdGetDoplerMask(){ // check availibility
if( !DoCmd( CMD_GET_DOPLER_MASK ) ) return false;
return true;}
|