From a46c525446b64fb43c850d8b3dfdb77bdf81c1c0 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 16 十二月 2016 17:09:18 +0800
Subject: [PATCH] add alarm out support
---
pans/test.cpp | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/pans/test.cpp b/pans/test.cpp
index af7b40d..33b17d5 100644
--- a/pans/test.cpp
+++ b/pans/test.cpp
@@ -191,6 +191,21 @@
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);
--
Gitblit v1.8.0