歷史資料(更

This commit is contained in:
b110212000 2022-01-13 15:46:09 +08:00
parent 5abf511256
commit afa81d62c5
2 changed files with 43 additions and 40 deletions

View File

@ -2426,6 +2426,7 @@
function getTable()
{
$('#all').hide();
if (historyRange == "")
{
var today = new Date();
@ -2793,6 +2794,7 @@
'<td>' + tempALL.toFixed(2) + '</td>' +
'</tr>');
}
$('#all').show();
})
}

View File

@ -50,9 +50,8 @@
</div>
<div class="row mb-5">
<div id="all">
<div class="row mb-5">
<div class="card p-3 w-100">
<h5 class="font-weight-bold mb-3 pl-5 pb-3">總結</h5>
<table class="table m-0">
@ -70,13 +69,13 @@
</tbody>
</table>
</div>
</div>
</div>
<div id="history-kWh-convas-div">
<div id="history-kWh-convas-div">
<canvas id="history-kWh"></canvas>
</div>
</div>
<div class="row mb-5">
<div class="row mb-5">
<div class="card p-3 w-100">
<h5 class="font-weight-bold mb-3 pl-5 pb-3">詳細資訊</h5>
<table class="table m-0">
@ -84,7 +83,7 @@
<tr>
<th>時間</th>
<th>發電量(kWh)</th>
<th>有效日照時數</th>
<th>有效發電小時</th>
<th>日照度(W/m2)</th>
<th>PR(%)</th>
<th>溫度(℃)</th>
@ -94,4 +93,6 @@
</tbody>
</table>
</div>
</div>
</div>