Member |
Data Type |
Description |
---|---|---|
dwSize |
DWORD |
Structure size. |
byValid |
BYTE |
Enable or not: 0-disable, 1-enable. |
byDataType |
BYTE |
Uploaded data type: 1-all alarm data, 2-all non-alarm data, 3-all data, 4-zone alarm report, 5-non-zone alarm report. |
byRes |
Array of BYTE |
Reserved. The maximum size is 2 bytes. |
byChanAlarmMode |
Array of BYTE |
Central group alarm channels: 1-T1, 2-T2, 3-N1, 4-N2, 5-G1, 6-G2, 7-N3, 8-N4 (If the device supports 3G, G1 and G2 mean 3G module; If not support, G1 and G2 mean GPRS module. Only one of the 3G module and GPRS module can exist in the device at the same time.). The maximum size is 4 bytes (value of macro definition "MAX_CHAN_NUM"). |
byDealFailCenter |
Array of BYTE |
Send failure report to the specified central group, array subscript means the group number, the value: 0-not select, 1-select. byDealFailCenter[0]==1-uploading data to central group 1, byDealFailCenter[1]==1-uploading data to central group 2, and so on. The maximum size is 16 bytes (value of macro definition "MAX_CENTERGROUP_NUM"). |
byZoneReport |
Array of BYTE |
Zone alarm report: 0-not upload, 1-upload. byZoneReport[0]==1-uploading the alarm report of zone 1, byZoneReport[1]==1-uploading the alarm report of zone 2, and so on. The maximum size is 512 bytes (value of macro definition "MAX_ALARMHOST_ALARMIN_NUM"). |
byNonZoneReport |
Array of BYTE |
Non-zone alarm report, 0-not upload, 1-upload. Each array means a kind of event type, see below: byNonZoneReport[0]-virtual zone report; byNonZoneReport[1]-system status report; byNonZoneReport[2]-cancel reporting; byNonZoneReport[3]-test report; byNonZoneReport[4]-arming report; byNonZoneReport[5]-disarming report; byNonZoneReport[6]-duress report; byNonZoneReport[7]-alarm recovery report; byNonZoneReport[8]-bypass report; byNonZoneReport[9]-bypass recovery report; byNonZoneReport[10]-detector connection status report (online, offline); byNonZoneReport[11]-detector power status report (power is normal, undervoltage); byNonZoneReport[12]-video alarm report. The maximum size is 32 bytes (value of macro definition "MAX_EVENT_NUM"). |
byAlarmNetCard |
Array of BYTE |
Alarm NIC center of central group: 0-"main NIC center 1", 1-"main NIC center 2", 2-"extended NIC center 1", 3-"extended network card center 2" (valid when alarm channel is N1, N2, N3, N4). The maximum size is 4 bytes (value of macro definition "MAX_REPORTCHAN_NUM"). |
byRes2 |
Array of BYTE |
Reserved, and set to 0. The maximum size is 252 bytes. |