1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
| #include<stdio.h>
|
| int main(int argc,char **argv)
| {
|
| /*
| int RealAlarmEventNum[16];
| int result=0;
| char* searchresult;
| char* AnaylserIP="124.205.246.90";
| char* user="supervisor";
| char* pass="supervisor";
| printf("========================start============\n");
| */
|
|
| char* result;
| char* AnaylserIP="124.205.246.90";
| char* user="supervisor";
| char* pass="supervisor";
| int Channel=0;
| int s_year=2016,s_month=12,s_day=8,s_hour=10,s_min=27,s_sec=41;
| int e_year=2016,e_month=12,e_day=8,e_hour=14,e_min=27,e_sec=41;
| printf("========================start============\n");
| result=GetPHPSearchMetaInfo(AnaylserIP,user,pass,Channel,s_year,s_month,s_day,s_hour,s_min,s_sec,e_year,e_month,e_day,e_hour,e_min,e_sec); //potection function
| //result=GetDeviceInfo(AnaylserIP);
| printf("serchresult=%s\n",result);
|
| //Channel=1;
| //s_day=7;
| //printf("========================start============\n");
| //result=GetPHPSearchMetaInfo(AnaylserIP,user,pass,Channel,s_year,s_month,s_day,s_hour,s_min,s_sec,e_year,e_month,e_day,e_hour,e_min,e_sec); //potection function
| ////result=GetDeviceInfo(AnaylserIP);
| //printf("serchresult=%s\n",result);
| //
| //Channel=0;
| //s_day=8;
| //printf("========================start============\n");
| //result=GetPHPSearchMetaInfo(AnaylserIP,user,pass,Channel,s_year,s_month,s_day,s_hour,s_min,s_sec,e_year,e_month,e_day,e_hour,e_min,e_sec); //potection function
| ////result=GetDeviceInfo(AnaylserIP);
| //printf("serchresult=%s\n",result);
| //
| //
| //Channel=1;
| //s_day=7;
| //printf("========================start============\n");
| //result=GetPHPSearchMetaInfo(AnaylserIP,user,pass,Channel,s_year,s_month,s_day,s_hour,s_min,s_sec,e_year,e_month,e_day,e_hour,e_min,e_sec); //potection function
| ////result=GetDeviceInfo(AnaylserIP);
| //printf("serchresult=%s\n",result);
|
| return 1;
| }
|
|