Добавен новый раздел настроек и добавлены комментарии к некоторым другим разделам
This commit is contained in:
parent
26f354d82d
commit
4c631db418
@ -152,6 +152,8 @@ type SAP struct {
|
||||
UN int
|
||||
}
|
||||
|
||||
// 7.24.3
|
||||
// Alarm processing parameters
|
||||
type APR struct {
|
||||
AR ARR
|
||||
SS SS
|
||||
@ -167,13 +169,6 @@ type SS struct {
|
||||
EN int
|
||||
}
|
||||
|
||||
type UAP struct {
|
||||
EN int
|
||||
AS int
|
||||
VT int
|
||||
SDT int
|
||||
}
|
||||
|
||||
type PVLAS struct {
|
||||
EN int
|
||||
AS int
|
||||
@ -257,8 +252,10 @@ type MCMS struct {
|
||||
SP []SP // Параметры сервера
|
||||
}
|
||||
|
||||
// 7.12.1
|
||||
// Central server configuration
|
||||
type SP struct {
|
||||
EN int // Статус сервера
|
||||
EN int // Флаг включения
|
||||
CP int // Протокол подключения
|
||||
NWT int // Способ подключения
|
||||
CS string // Адрес сервера
|
||||
@ -269,7 +266,45 @@ type SP struct {
|
||||
MUPORT int // UDP-порт медиасервера
|
||||
}
|
||||
|
||||
// 7.28
|
||||
// NVR remote device parameters
|
||||
type REDEV struct {
|
||||
EN int // Флаг включения
|
||||
LOCK int // ???
|
||||
CHL int // Номер канала на устройстве
|
||||
RECHL int // ???
|
||||
ONLINE int // Доступно ли сейчас устройство
|
||||
RETYPE int // Тип устройства
|
||||
PROTYPE int // Тип протокола
|
||||
IPTYPE int // Тип IP-адреса (IPv4/IPv6)
|
||||
CONTYPE int // ???
|
||||
SW int // Источник поступаемого сигнала
|
||||
REPORT int // Порт камеры
|
||||
REIP int // IP камеры
|
||||
ID int // Идентификатор камеры
|
||||
RENAME string // Название устройства
|
||||
USER string // Имя пользователя
|
||||
PWD string // Пароль
|
||||
URL string // ???
|
||||
CMDPORT string // ???
|
||||
}
|
||||
|
||||
// 7.29
|
||||
// Panel emergency alarm
|
||||
type UAP struct {
|
||||
EN int // Флаг включения
|
||||
AS int // Уровень тревоги
|
||||
T int // ???
|
||||
VT int // ???
|
||||
UN string // Имя тревоги
|
||||
UO string // Имя тривоги на экране водителя
|
||||
APR APR // Параметры обработки тревоги
|
||||
// AP AP // Параметры тревоги
|
||||
SDT int // ???
|
||||
}
|
||||
|
||||
// 7.30
|
||||
// Network monitoring status parameters
|
||||
type PGDSM struct {
|
||||
PGPS PGPS `json:"PGPS,omitempty"`
|
||||
PDSM PDSM `json:"PDSM,omitempty"`
|
||||
@ -286,6 +321,7 @@ type PGPS struct {
|
||||
}
|
||||
|
||||
// 7.30.2
|
||||
// Device status parameter
|
||||
type PDSM struct {
|
||||
}
|
||||
|
||||
@ -323,6 +359,7 @@ type Setting struct {
|
||||
EOSD []EOSD `json:"EOSD,omitempty"`
|
||||
IOP []IOP `json:"IOP,omitempty"`
|
||||
SAP SAP `json:"SAP,omitempty"`
|
||||
REDEV []REDEV `json:"REDEV,omitempty"`
|
||||
UAP UAP `json:"UAP,omitempty"`
|
||||
PGDSM PGDSM `json:"PGDSM,omitempty"`
|
||||
PVLAS PVLAS `json:"PVLAS,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user