| | |
| | | else |
| | | perror ("Error opening file"); |
| | | */ |
| | | |
| | | //报警时间段 |
| | | NET_DVR_SCHEDTIME net_dvr_schedtime; |
| | | net_dvr_schedtime.byStartHour = 0; |
| | | net_dvr_schedtime. byStartMin = 1; |
| | | net_dvr_schedtime.byStopHour = 11; |
| | | net_dvr_schedtime.byStopMin = 59; |
| | | |
| | | //报警设置信息 |
| | | NET_DVR_ALARMOUTCFG_V30 net_dvr_alarmoutcfg; |
| | | net_dvr_alarmoutcfg.dwSize = ; |
| | | net_dvr_alarmoutcfg.sAlarmOutName = "test"; |
| | | net_dvr_alarmoutcfg.dwAlarmOutDelay = 0; |
| | | net_dvr_alarmoutcfg.struAlarmOutTime= ; |
| | | net_dvr_alarmoutcfg.byRes[16] = 0; |
| | | //开启警报 |
| | | NET_DVR_SetAlarmOut(lUserID,0xff00,1); |
| | | |