update esp32_air_pump/data/index.html.

master
慕炎 2022-01-14 13:12:46 +00:00 committed by Gitee
parent 0f6b59f52d
commit 9968fff9dc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 4 additions and 3 deletions

View File

@ -190,6 +190,7 @@ FW:Ver 1.2
} }
document.getElementById('running_type').innerHTML = arr[4]; document.getElementById('running_type').innerHTML = arr[4];
document.getElementById('running_pressure_type').value = arr[5]; document.getElementById('running_pressure_type').value = arr[5];
document.getElementById('sysMillis').innerHTML = arr[6];
running_type5(arr[4]); running_type5(arr[4]);
if (arr[2] == "-1.00") { if (arr[2] == "-1.00") {
document.getElementById('pressure_val').innerHTML = "<font color='red'>传感器异常</font>"; document.getElementById('pressure_val').innerHTML = "<font color='red'>传感器异常</font>";
@ -245,12 +246,12 @@ FW:Ver 1.2
</div> </div>
<table border="0"> <table border="0">
<tr> <tr>
<td height="50"> <td height="30">
</font> <span id=CurrentMillis></span> 系统启动:<span id="sysMillis"></span> &nbsp;&nbsp;&nbsp;&nbsp;气泵启动:<span id="CurrentMillis"></span>
</td> </td>
</tr> </tr>
<tr> <tr>
<td height="50"> <td height="30">
<div>气压:<span id=pressure_val>0</span>Bar&nbsp;&nbsp;&nbsp;&nbsp;电压:<span id=bat_voltage>0</span>V</div> <div>气压:<span id=pressure_val>0</span>Bar&nbsp;&nbsp;&nbsp;&nbsp;电压:<span id=bat_voltage>0</span>V</div>
</td> </td>
</tr> </tr>