library.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef HIKVISION_NETWORK_SDK_PACKAGING_LIBRARY_LIBRARY_H
  2. #define HIKVISION_NETWORK_SDK_PACKAGING_LIBRARY_LIBRARY_H
  3. #ifdef _WIN32
  4. #ifdef Export
  5. #define Omnimatrix __declspec(dllexport)
  6. #else
  7. #define Omnimatrix __declspec(dllimport)
  8. #endif
  9. #else
  10. #define Omnimatrix
  11. #endif
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. Omnimatrix bool DVR_Init();
  16. Omnimatrix void* NewHIKBallCamera();
  17. Omnimatrix bool InitBallCamera(void* PtrHIKBallCamera,const char* ip, const char* port,const char* username,const char* password,const char* BallMachineType);
  18. Omnimatrix bool PtzGotoPut(void* PtrHIKBallCamera,int Action, float P, float T, float Z);
  19. Omnimatrix bool PtzGet(void* PtrHIKBallCamera,void *P, void *T, void *Z);
  20. Omnimatrix bool StopBus(void* PtrHIKBallCamera,int direction);
  21. Omnimatrix bool StartBus(void* PtrHIKBallCamera,int direction,int speed);
  22. Omnimatrix void* NewHIKNvr();
  23. Omnimatrix bool InitNvr(void* PtrHIKNvr,char* ip, char* port, char* username, char* password, int channel);
  24. Omnimatrix char* CheckTimeRegionWithMonth(void* PtrHIKNvr,int year,int month);
  25. Omnimatrix char* CheckTimeRegionWithDay(void* PtrHIKNvr,int year,int month,int day);
  26. Omnimatrix int NvrUTCDiff();
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30. #endif //HIKVISION_NETWORK_SDK_PACKAGING_LIBRARY_LIBRARY_H