Member |
Data Type |
Description |
---|---|---|
dwSize |
DWORD |
Structure size. |
sCIDCode |
Array [BYTE] |
CID event No., refer to NET_DVR_ALARMHOST_CID_ALL_MINOR_TYPE for details. The maximum size is 4 bytes (the value of the macro definition "CID_CODE_LEN"). |
sCIDDescribe |
Array [BYTE] |
CID event name. The maximum size is 32 bytes (the value of the macro definition "NAME_LEN"). |
struTriggerTime |
Alarm triggering time. |
|
struUploadTime |
Alarm uploading time. |
|
sCenterAccount |
Array [BYTE] |
Center account which is valid when byCenterType is 0 or 1. The maximum size is 6 bytes (the value of the macro definition "ACCOUNTNUM_LEN"). |
byReportType |
BYTE |
Report type: enum _NET_DVR_ALARMHOST_REPORT_TYPE_{ NET_DVR_DEFENCE_ALARM = 1, //Zone alarm NET_DVR_VIDEO_ALARM, //Video alarm NET_DVR_VIRTUAL_DEFENCE_ALARM,//Virtual zone alarm NET_DVR_HOSTAGE_ALARM, //Duress alarm NET_DVR_KNOCK_DOWN_ALARM, //Tampering alarm NET_DVR_OPERATE_ALARM, //Operation report NET_DVR_OHTER_ABNORMAL_ALARM // Exception report }NET_DVR_ALARMHOST_REPORT_TYPE |
byUserType |
BYTE |
User Type: 0-network user, 1-keypad user, 2-mobile phone user, 3-system user. |
sUserName |
Array [BYTE] |
Network user name. The maximum size is 32 bytes (the value of the macro definition "NAME_LEN"). |
wKeyUserNo |
WORD |
Keypad user No., 0xFFFF-invalid. |
byKeypadNo |
BYTE |
Keypad No., 0xFF-invalid. |
bySubSysNo |
BYTE |
Partition No., 0xFF-invalid. |
wDefenceNo |
WORD |
Zone No., 0xFFFF-invalid. |
byVideoChanNo |
BYTE |
Video channel No., 0xFF-invalid. |
byDiskNo |
BYTE |
HDD No., 0xFF-invalid. |
wModuleAddr |
WORD |
Module address, 0xFFFF-invalid. |
byCenterType |
BYTE |
Center account type: 0-invalid, 1-center account (the length is 6), 2-extended center account (the length is 32). |
byRelativeChannel |
BYTE |
External video channel No., 0-invalid. |
sCenterAccountV40 |
Array [BYTE] |
Extended center account which is valid when byCenterType is 2. When this member is configured, the member sCenterAccount is invalid. The maximum size is 32 bytes (the value of the macro definition "ACCOUNTNUM_LEN_32"). |
byDevSerialNo |
BYTE |
Product serial No. The maximum size is 9 bytes (the value of the macro definition "DEV_SERIAL_LEN"). |
byRes3 |
BYTE |
Reserved. The maximum size is 3 bytes. |
dwIOTChannelNo |
DWORD |
IOT channel No. |
standardCIDcode |
BYTE |
Standard CID code. |
byRes2 |
Array [BYTE] |
Reserved. The maximum size is 11 bytes. |