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.

41 lines
1.2 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #include "rgoosePelcoCamera.h"
  2. #define LOG( X ) m_pLog->Log( "PELCO_PCAM", this, X )
  3. #define LOG_ERROR( X ) m_pLog->Log( "PELCO_PCAM", this, _LOG_ERROR, X )
  4. ARGUS_PELCOCAM::ARGUS_PELCOCAM( uint32_t id ): ARGUS_Camera( id ){
  5. m_pLog = basicLogCollection::getInstance();
  6. };
  7. ARGUS_PELCOCAM::~ARGUS_PELCOCAM(){
  8. };
  9. bool ARGUS_PELCOCAM::startService(){
  10. return false;
  11. };
  12. bool ARGUS_PELCOCAM::relativeMove( float PanSPD, float TiltSPD, float ZoomSPD ){
  13. if( m_sCamData.online ) {
  14. //if( m_pOnVif->ptz_ContinuousMove( m_pProfile->profiletoken, PanSPD , TiltSPD ) ){
  15. // return m_pOnVif->ptz_ContinuousMoveZoom( m_pProfile->profiletoken, ZoomSPD );
  16. //};
  17. };
  18. return false;
  19. };
  20. bool ARGUS_PELCOCAM::relativeStop(){
  21. if( m_sCamData.online ) {
  22. //return m_pOnVif->ptz_Stop( m_pProfile->profiletoken, true, true );
  23. };
  24. return false;
  25. };
  26. bool ARGUS_PELCOCAM::absoluteMove( float PanPOS, float TiltPOS, float ZoomPOS ){
  27. if( m_sCamData.online ) {
  28. //return m_pOnVif->ptz_AbsoluteMove( m_pProfile->profiletoken, PanPOS, TiltPOS, ZoomPOS );
  29. };
  30. return false;
  31. };
  32. #undef LOG
  33. #undef LOG_ERROR