Old fashion design for PC-104
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

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #include "stdafx.h"
  2. #include "DDopler.h"
  3. CLgDeviceDopler::CLgDeviceDopler()
  4. {
  5. }
  6. CLgDeviceDopler::~CLgDeviceDopler()
  7. {
  8. }
  9. BOOL CLgDeviceDopler::CmdSetDopler( BOOL bEnable, PTZ_DEGREE dPanStep, DWORD dwTimeout )
  10. {
  11. // check availibility
  12. if( !DoCmd( CMD_SET_DOPLER ) )
  13. return FALSE;
  14. // store command data
  15. m_Dopler.bEnable = bEnable;
  16. m_Dopler.dPanStep = dPanStep;
  17. m_Dopler.dwTimeout = dwTimeout;
  18. return TRUE;
  19. }
  20. BOOL CLgDeviceDopler::CmdGetDopler()
  21. {
  22. // check availibility
  23. if( !DoCmd( CMD_GET_DOPLER ) )
  24. return FALSE;
  25. return TRUE;
  26. }