mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-18 19:39:43 +08:00
添加了html
This commit is contained in:
25
html/javascript/config.js
Normal file
25
html/javascript/config.js
Normal 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;
|
Reference in New Issue
Block a user