3 Commits

2 changed files with 11 additions and 12 deletions

View File

@ -91,13 +91,13 @@ type EventModelGetAlarmingResponse struct {
// 3.4.1.3 // 3.4.1.3
type EventModelGetAlarmInfoStatusResponse struct { type EventModelGetAlarmInfoStatusResponse struct {
ErrorCode uint `json:"ERRORCODE"` ErrorCode uint `json:"ERRORCODE"`
ErrorCause string `json:"ERRORCAUSE"` ErrorCause string `json:"ERRORCAUSE"`
MotionDetectionAlarm []MotionDetectionAlarmStatus `json:"MD"` MotionDetectionAlarm []MotionDetectionAlarmStatus `json:"MD"`
IOAlarm []IOAlarmStatus `json:"IO"` IOAlarm []IOAlarmStatus `json:"IO"`
StorageAlarm []StorageAlarmStatus `json:"ST"` StorageAlarm []StorageAlarmStatus `json:"ST"`
StorageAlarmParameters []CameraCoveredAlarmStatus `json:"VS"` CameraCoveredAlarm []CameraCoveredAlarmStatus `json:"VS"`
VideoLossAlarm []VideoLossAlarmStatus `json:"VL"` VideoLossAlarm []VideoLossAlarmStatus `json:"VL"`
} }
// 3.4.1.4.1 // 3.4.1.4.1
@ -117,9 +117,8 @@ type IOAlarmStatus struct {
// 3.4.1.4.4 // 3.4.1.4.4
type CameraCoveredAlarmStatus struct { type CameraCoveredAlarmStatus struct {
ChannelMask uint `json:"CH"` Status uint `json:"ISA"`
AlarmMask uint `json:"AT"` Mask uint `json:"LCH"`
StatusMask uint `json:"AS"`
} }
// 3.4.1.4.4 // 3.4.1.4.4

View File

@ -281,12 +281,12 @@ type REDEV struct {
SW int // Источник поступаемого сигнала SW int // Источник поступаемого сигнала
REPORT int // Порт камеры REPORT int // Порт камеры
REIP string // IP камеры REIP string // IP камеры
ID int // Идентификатор камеры ID string // Идентификатор камеры
RENAME string // Название устройства RENAME string // Название устройства
USER string // Имя пользователя USER string // Имя пользователя
PWD string // Пароль PWD string // Пароль
URL string // ??? URL string // ???
CMDPORT string // ??? CMDPORT uint // ???
} }
// 7.29 // 7.29