1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
| package hikControl
|
| import (
| "fmt"
| "testing"
| )
|
| func TestMain(m *testing.M) {
| fmt.Println("begin")
| ip := "192.168.5.35"
| username := "admin"
| passwd := "a1234567"
| port := 8000
| PtzTrack(ip, username, passwd, port, 1, 50, 50, 50, 50)
| fmt.Println("end PtzTrack")
|
| ToPreset(ip, username, passwd, port, 1)
| fmt.Println("end ToPreset")
| }
|
|