1. 移除计算 3*3 矩阵的逆的函数

2. 优化球机的登陆接口
3. 新增球机的登出接口
This commit is contained in:
kunmeng
2025-02-10 15:57:03 +08:00
parent 0aad52eef1
commit 4974011eee
3 changed files with 139 additions and 116 deletions

View File

@@ -10,10 +10,11 @@ import (
var libc uintptr
var (
DvrInit func() bool
DvrInit func() int
newHIKBallCamera func() unsafe.Pointer
initBallCamera func(core unsafe.Pointer, ip string, port string, username string, password string, BallMachineType string) bool
initBallCamera func(core unsafe.Pointer, ip string, port string, username string, password string, BallMachineType string, ErrorCode unsafe.Pointer, ErrorInfo *byte) bool
ballCameraLogout func(core unsafe.Pointer, ErrorCode unsafe.Pointer, ErrorInfo *byte) bool
ptzTo func(core unsafe.Pointer, Action int, P float32, T float32, Z float32) bool
ptzGet func(unsafe.Pointer, unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) bool
stopBus func(unsafe.Pointer, int) bool