<!DOCTYPE html>
|
<html>
|
<head>
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
</head>
|
<body>
|
<?php
|
// dl("proxy.so");
|
//phpinfo();
|
$AnaylserIP="124.205.246.90";
|
$user="supervisor";
|
$pass="supervisor";
|
$Channel=0;
|
|
$s_year=2016;
|
$s_month=12;
|
$s_day=7;
|
$s_hour=8;
|
$s_min=0;
|
$s_sec=0;
|
|
$e_year=2016;
|
$e_month=12;
|
$e_day=8;
|
$e_hour=10;
|
$e_min=10;
|
$e_sec=0;
|
$result=-100;
|
|
$RestartKind=1;
|
$no=1;
|
$deviceresult=GetDeviceInfo($AnaylserIP);
|
|
echo "deviceresult=".$deviceresult;
|
$searchresult=GetAnalyserAll();
|
echo "<br>";
|
echo "<br>";
|
echo "<br>";
|
echo "<br>";
|
echo "searchresult=".$searchresult;
|
//$deleteresult=DeleteAnalyser("124.205.246.95"); //8.删除设备 参数:设备ip 返回:成功或失败的提示。
|
echo "<br>";
|
echo "<br>";
|
echo "<br>";
|
echo "deleteresult=".$deleteresult;
|
echo "<br>";
|
//$insertresult=InsertAnalyser("bioofly","124.205.246.95","52","192.168.1.8","5005","jkm","12345","10000","TCP");
|
echo "insertresult=".$insertresult;
|
echo "<br>";
|
//$result=GetConnectState($AnaylserIP);
|
echo "result1=".$result;
|
echo "<br>";
|
//$result=RestartAnalyser($AnaylserIP,$user,$pass,$RestartKind,$no);
|
echo "result2=".$result;
|
echo "<br>";
|
//$result=RealEventStart($AnaylserIP,$user,$pass);
|
echo "result3=".$result;
|
//sleep(10);
|
echo "<br>";
|
$result8=GetRealEvent($AnaylserIP);//?
|
echo "result4=".$result8;
|
echo "<br>";
|
//$result=RealEventStop($AnaylserIP);
|
echo "result5=".$result;
|
echo "<br>";
|
$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);
|
echo "result6=".$result;
|
// echo "result6=".$result;
|
?>
|
</body>
|
</html>
|