3 Star 11 Fork 7

FlyCate/onvif

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
types.go 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
package search
import "encoding/xml"
//查询回放概要信息
type GetRecordingSummary struct {
XMLName xml.Name `xml:"tse:GetRecordingSummary"`
}
type GetRecordingSummaryResponse struct {
Summary struct{
DataFrom string
DataUntil string
NumberRecordings int
}
}
//查询回放token
type FindRecordings struct {
XMLName xml.Name `xml:"tse:FindRecordings"`
Scope string `xml:"tse:Scope"`
KeepaliveTime string `xml:"tse:KeepAliveTime"`
}
type FindRecordingsResponse struct {
SearchToken string
}
//查询录像记录
type GetRecordingSearchResults struct {
XMLName xml.Name `xml:"tse:GetRecordingSearchResults"`
SearchToken string `xml:"tse:SearchToken"`
MinResults int `xml:"tse:MinResults"`
MaxResults int `xml:"tse:MaxResults"`
WaitTime string `xml:"tse:WaitTime"`
}
type GetRecordingSearchResultsResponse struct {
ResultList struct{
SearchState string
RecordingInformation []struct{
RecordingToken string
Source struct{
SourceId string
Name string
Location string
Description string
Address string
}
EarliestRecording string
LatestRecording string
Content string
Track []struct{
TrackToken string
TrackType string
Description string
DataFrom string
DataTo string
}
RecordingStatus string
}
}
}
//查询通道录像信息
type GetRecordingInformation struct {
XMLName xml.Name `xml:"tse:GetRecordingInformation"`
RecordingToken string `xml"tse:RecordingToken"`
}
type GetRecordingInformationResponse struct {
RecordingInformation struct{
EarliestRecording string
LatestRecording string
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/dzhw0314/onvif.git
git@gitee.com:dzhw0314/onvif.git
dzhw0314
onvif
onvif
v0.2.3

搜索帮助