master
夜笙歌 2 years ago
parent b02b849188
commit a09bdeb0df

@ -57,6 +57,17 @@ $(() => {
/*数据信息*/
const statusArray = [0, 0, 0, 0, 0];
$.getJSON('/tankShellDevice/getDataInformation', function (result) {
console.log(result);
dataInformationFunction(result)
});
$.getJSON('/tankShellDevice/getRunParameters', function (result) {
console.log(result);
energyProductionStatisticsFunction(result)
});
$.getJSON('/tankShellDevice/getRunParameters', function (result) {
runParamStatisticsFunction(result)
});
dataInformationFunction(statusArray);
energyProductionStatisticsFunction(statusArray);

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>箱壳成型数据监控平台</title>
@ -13,6 +14,7 @@
<script src="../../../js/common/scrollTable.js"></script>
<script src="../../../js/common/date-time-common.js"></script>
</head>
<body>
<!--数据信息-->
<div class="dataInformation" id="dataInformation"></div>
@ -47,4 +49,5 @@
</body>
<script src="../../../js/tankShell/device.js"></script>
</html>

@ -57,6 +57,17 @@ $(() => {
/*数据信息*/
const statusArray = [0, 0, 0, 0, 0];
$.getJSON('/tankShellDevice/getDataInformation', function (result) {
console.log(result);
dataInformationFunction(result)
});
$.getJSON('/tankShellDevice/getRunParameters', function (result) {
console.log(result);
energyProductionStatisticsFunction(result)
});
$.getJSON('/tankShellDevice/getRunParameters', function (result) {
runParamStatisticsFunction(result)
});
dataInformationFunction(statusArray);
energyProductionStatisticsFunction(statusArray);

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>箱壳成型数据监控平台</title>
@ -13,6 +14,7 @@
<script src="../../../js/common/scrollTable.js"></script>
<script src="../../../js/common/date-time-common.js"></script>
</head>
<body>
<!--数据信息-->
<div class="dataInformation" id="dataInformation"></div>
@ -47,4 +49,5 @@
</body>
<script src="../../../js/tankShell/device.js"></script>
</html>
Loading…
Cancel
Save