library.h 1.2 KB

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