master
夜笙歌 2 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,31 +22,32 @@
<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>
</div>
<!--节拍参数-->
<span class="meterParam" id="meterParam"></span>
</div>
<!--设备OEE统计--> <!--设备OEE统计-->
<div class="OEEStatistics" id="OEEStatistics"></div> <div class="OEEStatistics" id="OEEStatistics"></div>
<!--设备故障排名--> <!--设备故障排名-->
<div class="equipmentFailure" id="equipmentFailure"></div> <div class="equipmentFailure" id="equipmentFailure"></div>
<!--loss--> <!--loss-->
<div class="loss" id="loss"></div> <div class="loss" id="loss"></div>
<!--设备信息--> <!--设备信息-->
<div class="productionPlan" id="productionPlan"></div> <div class="productionPlan" id="productionPlan"></div>
<!--设备产量能耗对比--> <!--设备产量能耗对比-->
<div class="energyConsumption" id="energyConsumption"></div> <div class="energyConsumption" id="energyConsumption"></div>
</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,31 +22,32 @@
<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>
</div>
<!--节拍参数-->
<span class="meterParam" id="meterParam"></span>
</div>
<!--设备OEE统计--> <!--设备OEE统计-->
<div class="OEEStatistics" id="OEEStatistics"></div> <div class="OEEStatistics" id="OEEStatistics"></div>
<!--设备故障排名--> <!--设备故障排名-->
<div class="equipmentFailure" id="equipmentFailure"></div> <div class="equipmentFailure" id="equipmentFailure"></div>
<!--loss--> <!--loss-->
<div class="loss" id="loss"></div> <div class="loss" id="loss"></div>
<!--设备信息--> <!--设备信息-->
<div class="productionPlan" id="productionPlan"></div> <div class="productionPlan" id="productionPlan"></div>
<!--设备产量能耗对比--> <!--设备产量能耗对比-->
<div class="energyConsumption" id="energyConsumption"></div> <div class="energyConsumption" id="energyConsumption"></div>
</body> </body>
<script src="../../../js/tankShell/device.js"></script> <script src="../../../js/tankShell/device.js"></script>
</html> </html>
Loading…
Cancel
Save