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 |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/pans/test.cpp b/pans/test.cpp
index be6b111..33b17d5 100644
--- a/pans/test.cpp
+++ b/pans/test.cpp
@@ -191,12 +191,23 @@
 		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);
-	
-
-
-	
 	
 
 	NET_DVR_DISP_LOGOCFG net_dvr_disp_logocfg1;

--
Gitblit v1.8.0