From 3f620a224332b6366adfc7dad658571d151b6708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=AB=8B=E6=96=B0?= Date: Thu, 23 Dec 2021 14:09:37 +0800 Subject: [PATCH] html --- .gitignore | 2 ++ html/config.html | 52 +++++++++++---------------------------- html/javascript/config.js | 17 ++++++++++++- html/php/GetIniFile.php | 16 ++++++++++++ html/php/GetSata.php | 1 + html/php/config.json | 2 +- 6 files changed, 51 insertions(+), 39 deletions(-) create mode 100644 html/php/GetIniFile.php create mode 100644 html/php/GetSata.php diff --git a/.gitignore b/.gitignore index 7191cc6..b517092 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ /build_d /html/.idea /out +/cmake-build-debug/ +/.idea diff --git a/html/config.html b/html/config.html index ec5f429..1463d24 100644 --- a/html/config.html +++ b/html/config.html @@ -14,17 +14,19 @@
- +

Control Setting

控制设置

+ - - -
Begin Time       + + 开始时间       Interval Time      + 时间间隔     End Time      + 停止时间    
@@ -32,18 +34,21 @@

-

Data Header

+

描述信息

+ + - - + - - + + + +
设备序列号    地点        GPS_Longtitude GPS_Latitude 北半球
GPS_Atitude Is North Earth     GPS经度 GPS经度 GPS高程

@@ -64,35 +69,8 @@
-
-

ISIF设备信息

- - - +
-
- - - - - - -
向上定标文件名   向下定标文件名1
向下定标文件名2 向下定标文件名3
-
-
-

IS1设备信息

- - - - - - - - - - - -
向上定标文件名   向下定标文件名1
向下定标文件名2 向下定标文件名3
diff --git a/html/javascript/config.js b/html/javascript/config.js index 834342b..6669be5 100644 --- a/html/javascript/config.js +++ b/html/javascript/config.js @@ -17,9 +17,24 @@ function getConfigRentrun(reson) } } +function getDevinfoRetrun(retrun) +{ + var div=document.getElementById('devinfo'); + div.innerHTML=retrun; + init() +} + + + var datad; function init() { httpget("/php/GetConfig.php",datad,getConfigRentrun) + } -window.onload=init; + +function getinit() +{ + httpget("/php/GetIniFile.php",datad,getDevinfoRetrun) +} +window.onload=getinit; diff --git a/html/php/GetIniFile.php b/html/php/GetIniFile.php new file mode 100644 index 0000000..0da6324 --- /dev/null +++ b/html/php/GetIniFile.php @@ -0,0 +1,16 @@ +设备信息'; +echo '设备数量 '.$numberofsensor.''; +echo ''; + for ($i=0;$i<$numberofsensor;$i++) + { + echo ''; + echo ''; + echo ''; + echo ''; + } + echo '
'.$b[$i+1]['Model'].'_定标文件主名称'.'
'; diff --git a/html/php/GetSata.php b/html/php/GetSata.php new file mode 100644 index 0000000..b3d9bbc --- /dev/null +++ b/html/php/GetSata.php @@ -0,0 +1 @@ +