添加了html

This commit is contained in:
2021-11-11 10:11:47 +08:00
parent 03d620451d
commit b4c610dc71
18 changed files with 245 additions and 1214 deletions

25
html/javascript/config.js Normal file
View File

@ -0,0 +1,25 @@
function getConfigRentrun(reson)
{
var aa=JSON.parse(reson);
for (var obj in aa)
{
var temmp=document.getElementById(obj);
temmp.value=aa[obj];
if (obj=="GPS_North")
{
if (aa[obj]=="on")
{
temmp.checked=true;
}else {
temmp.checked=false;
}
}
}
}
var datad;
function init()
{
httpget("/php/GetConfig.php",datad,getConfigRentrun)
}
window.onload=init;