master
夜笙歌 3 years ago
parent b02b849188
commit a09bdeb0df

@ -57,6 +57,17 @@ $(() => {
/*数据信息*/ /*数据信息*/
const statusArray = [0, 0, 0, 0, 0]; 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); dataInformationFunction(statusArray);
energyProductionStatisticsFunction(statusArray); energyProductionStatisticsFunction(statusArray);

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>箱壳成型数据监控平台</title> <title>箱壳成型数据监控平台</title>
@ -13,6 +14,7 @@
<script src="../../../js/common/scrollTable.js"></script> <script src="../../../js/common/scrollTable.js"></script>
<script src="../../../js/common/date-time-common.js"></script> <script src="../../../js/common/date-time-common.js"></script>
</head> </head>
<body> <body>
<!--数据信息--> <!--数据信息-->
<div class="dataInformation" id="dataInformation"></div> <div class="dataInformation" id="dataInformation"></div>
@ -20,13 +22,13 @@
<div class="energyProductionStatistics" id="energyProductionStatistics"></div> <div class="energyProductionStatistics" id="energyProductionStatistics"></div>
<!--运行参数统计--> <!--运行参数统计-->
<div class="runParamStatistics" id="runParamStatistics"></div> <div class="runParamStatistics" id="runParamStatistics"></div>
<div style="font-size: 16px"> <div style="font-size: 16px">
<!--loss参数--> <!--loss参数-->
<span class="lossParam" id="lossParam"></span> <span class="lossParam" id="lossParam"></span>
<!--节拍参数--> <!--节拍参数-->
<span class="meterParam" id="meterParam"></span> <span class="meterParam" id="meterParam"></span>
</div> </div>
@ -47,4 +49,5 @@
</body> </body>
<script src="../../../js/tankShell/device.js"></script> <script src="../../../js/tankShell/device.js"></script>
</html> </html>

@ -57,6 +57,17 @@ $(() => {
/*数据信息*/ /*数据信息*/
const statusArray = [0, 0, 0, 0, 0]; 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); dataInformationFunction(statusArray);
energyProductionStatisticsFunction(statusArray); energyProductionStatisticsFunction(statusArray);

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>箱壳成型数据监控平台</title> <title>箱壳成型数据监控平台</title>
@ -13,6 +14,7 @@
<script src="../../../js/common/scrollTable.js"></script> <script src="../../../js/common/scrollTable.js"></script>
<script src="../../../js/common/date-time-common.js"></script> <script src="../../../js/common/date-time-common.js"></script>
</head> </head>
<body> <body>
<!--数据信息--> <!--数据信息-->
<div class="dataInformation" id="dataInformation"></div> <div class="dataInformation" id="dataInformation"></div>
@ -20,13 +22,13 @@
<div class="energyProductionStatistics" id="energyProductionStatistics"></div> <div class="energyProductionStatistics" id="energyProductionStatistics"></div>
<!--运行参数统计--> <!--运行参数统计-->
<div class="runParamStatistics" id="runParamStatistics"></div> <div class="runParamStatistics" id="runParamStatistics"></div>
<div style="font-size: 16px"> <div style="font-size: 16px">
<!--loss参数--> <!--loss参数-->
<span class="lossParam" id="lossParam"></span> <span class="lossParam" id="lossParam"></span>
<!--节拍参数--> <!--节拍参数-->
<span class="meterParam" id="meterParam"></span> <span class="meterParam" id="meterParam"></span>
</div> </div>
@ -47,4 +49,5 @@
</body> </body>
<script src="../../../js/tankShell/device.js"></script> <script src="../../../js/tankShell/device.js"></script>
</html> </html>
Loading…
Cancel
Save