Member |
Data Type |
Description |
---|---|---|
dwAlarmType |
DWORD |
Alarm information type: 0-alarm input alarm, 1-HDD full, 2-video loss, 3-motion detection, 4-HDD unformatted, 5-writing to HDD failed, 6-video tampering alarm, 7-standard mismatched, 8-invalid login, 9-video exception, 10-recording exception, 11-scene change, 12-RAID exception, 13-resolution mismatched, 15-VCA detection, 16- PoE power supply exception, 17-education sharing system alarm, 18-two-way audio request alarm, 23-pulse alarm, 24-face picture library HDD exception, 25-face picture library changed, 26-picture of face picture library changed, 27-POC exception, 28-camera FOV exception, 30-no SD card, 31-supply voltage exception, 32-PTZ locked |
struAlarmTime |
Alarm time |
|
uStruAlarm |
Union (Table 1) |
Alarm information union |
pRes |
DWORD* |
Reserved. |
byTimeDiffFlag |
BYTE |
Whether the time difference parameter is valid: 0-invalid, 1-valid. |
cTimeDifferenceH |
char |
Time difference between time and UTC time, unit: hour, the value is between -12 and +14 ("+" indicates the east time zone), it is valid when byISO8601 is "1". |
cTimeDifferenceM |
char |
Time difference between time and UTC time, unit: minute, the value is -30, +30, or +45 ("+" indicates the east time zone), it is valid when byISO8601 is "1". |
byRes |
Array of BYTE |
Reserved, set to 0. The maximum size is 5 bytes. |
Member |
Data Type |
Description |
---|---|---|
byUnionLen |
Array of BYTE |
Union size, which is 116 bytes. |
struIOAlarm |
Struct (Table 2) |
Structure about alarm input parameters |
struAlarmChannel |
Struct (Table 3) |
Structure about alarm channel parameters |
struAlarmHardDisk |
Struct (Table 4) |
Structure about HDD alarm parameters |
struRecordingHost |
Struct (Table 5) |
Structure about alarm parameters of education sharing system |
struVoltageInstable |
Struct (Table 6) |
Structure about alarm parameters of supply voltage exception |
struPTLocking |
Struct (Table 7 |
Structure about parameters of PTZ locked alarm |
Member |
Data Type |
Description |
---|---|---|
dwAlarmInputNo |
DWORD |
Alarm input No. |
dwTrigerAlarmOutNum |
DWORD |
The number of triggered alarm outputs. It is used for calculating the number of all triggered alarm outputs by pAlarmData in NET_DVR_ALARMINFO_V40, each alarm output is represented by 4 bytes. |
dwTrigerRecordChanNum |
DWORD |
The number of triggered recording channels. It is used for calculating the number of all triggered recording channels by pAlarmData of NET_DVR_ALARMINFO_V40, each channel is represented by 4 bytes. |
Member |
Data Type |
Description |
---|---|---|
dwAlarmChanNum |
DWORD |
The number of alarm channels. It is used for calculating the number of all alarm channels by pAlarmData of NET_DVR_ALARMINFO_V40, each alarm channel is represented by 4 bytes. |
dwPicLen |
DWORD |
Size of JPEG picture. |
byPicURL |
BYTE |
Picture data format: 0-binary data, 1-URL. |
byTarget |
BYTE |
Detection target type: 0-not supported, 1-person, 2-vehicle. |
byRes1 |
Array of BYTE |
Reserved, the maximum size is 2 bytes. |
pDataBuff |
char* |
Alarm picture data or URL. The pointer size is 8 bytes. |
byRes3 |
Array of BYTE |
Reserved, the maximum size is 4 bytes. This member is only available for 64-bit Window operating system and 64-bit Linux operating system. |
Member |
Data Type |
Description |
---|---|---|
dwAlarmHardDiskNum |
DWORD |
The number of alarm HDD. It is used for calculating the number of all alarm HDDs by pAlarmData of NET_DVR_ALARMINFO_V40, each alarm HDD is represented by 4 bytes. |
Member |
Data Type |
Description |
---|---|---|
bySubAlarmType |
BYTE |
Alarm minor type: 1-one-touch post-record |
byRes1 |
Array of BYTE |
Reserved, set to 0. The maximum size is 3 bytes. |
struRecordEndTime |
Recording end time. |
Member |
Data Type |
Description |
---|---|---|
fVoltageValue |
float |
Supply voltage, unit: V, corrects to one decimal place. |
byVoltageAlarmType |
BYTE |
Supply voltage exception type: 0-high supply voltage, 1-low supply voltage |
byRes1 |
Array of BYTE |
Reserved, set to 0. The maximum size is 3 bytes. |
Member |
Data Type |
Description |
---|---|---|
fTemperature |
float |
Sensor temperature, which is accurate to one decimal place. |
dwCustomInfoLength |
DWORD |
Custom information length. |
pCustomInfo |
BYTE* |
Custom information. |
byType |
BYTE |
PTZ locked direction: 1-panning is locked, 2-tilting is locked. |
byDeicingEnabled |
BYTE |
Whether to enable heat for PTZ: 0-no, 1-yes. |
dwAlarmType==0, 23 corresponds to the structure struIOAlarm; dwAlarmType== 2/3/6/9/10/11/13/15/16/28 corresponds to the structure struAlarmChannel; dwAlarmType== 1/4/5 corresponds to the structure struAlarmHardDisk; dwAlarmType== 17 corresponds to the structure struRecordingHost; dwAlarmType== 31 corresponds to the structure struVoltageInstable; for other value, the union is not available.