夜笙歌 3 years ago
parent b7ef93ab23
commit 5cbf5e2707

@ -12,4 +12,4 @@ mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml
server:
port: 6066
port: 6069

@ -7,6 +7,16 @@ body {
background-size: 100% 100%;
}
.dataInformation{
border: 1px solid red;
position: absolute;
width: 24%;
height: 22%;
top: 14%;
left: 3.3%;
}
.OEEStatistics {
border: 0px solid red;
position: absolute;

@ -1,5 +1,10 @@
$(() => {
// onDutyPlan(1234, 1202, 33);
const statusArray = [0, 0, 0, 0, 0];
const syntheticDate = [0, 0, 0, 0, 0];
dataInformationFunction(statusArray);
synthetic(syntheticDate)
//设备OEE统计
OEEStatistics(null, document.getElementById("OEEStatistics"));

@ -0,0 +1,45 @@
const dataInformationFunction = (statusArray) => {
let info = `<table style="position: absolute;top: 8%;width: 100%;height:100%;">
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 50%;"><img src="../../img/foamBox/${statusArray[0] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="20%" height="40%"/>${statusArray[0] == 0 ? `<span style="color:green;margin-left: 10px">运行正常</span>` : `<span style="color:red;margin-left: 10px">运行异常</span>`}</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: #E6ECBE;">389kW</td>
</tr>
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 50%;color: white;">4563kW·h</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: #D18DA2;">2</td>
</tr>
</table>`;
$("#dataInformation").append(info);
}
const synthetic = (statusArray) => {
let info = `<table style="position: absolute;top: 9%;left: 30%;width: 40%;height:7%;">
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 23%;color: #99C4EF;">123</td>
<td style="border:0px solid red;text-align:center;width: 27%;color: #7CED92;">123</td>
<td style="border:0px solid red;text-align:center;width: 27%;color: #99C4EF;">123</td>
<td style="border:0px solid red;text-align:center;width: 19%;color: #7CED92;">123</td>
<td style="border:0px solid red;text-align:center;width: 15%;"></td>
</tr>
</table>
<table style="position: absolute;top: 24%;left: 30%;width: 42%;height:10%;">
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 7%;"></td>
<td style="border:0px solid red;text-align:center;width: 13%;color: #70C0EC;">123</td>
<td style="border:0px solid red;text-align:center;width: 13%;"></td>
<td style="border:0px solid red;text-align:center;width: 14%;color: #DB718D;">123</td>
<td style="border:0px solid red;text-align:center;width: 12%;"></td>
<td style="border:0px solid red;text-align:center;width: 13%;color: #8CEF92;">123</td>
<td style="border:0px solid red;text-align:center;width: 13%;"></td>
<td style="border:0px solid red;text-align:center;width: 14%;color: #ECE790;">123</td>
<td style="border:0px solid red;text-align:center;width: 0%;"></td>
</tr>
</table>
<span style="position: absolute;top: 13%;left: 85%;width: 9%;height:4%;text-align:center;background: linear-gradient(to bottom, #D2E5F7, #8CBAE4);color: transparent;display:inline-block;-webkit-background-clip: text;">123213</span>
<span style="position: absolute;top: 28%;left: 85%;width: 9%;height:4%;text-align:center;background: linear-gradient(to bottom, #F1FFFF, #7FE782);color: transparent;display:inline-block;-webkit-background-clip: text;">123213</span>
`;
$("#synthetic").append(info);
}

@ -5,17 +5,18 @@
<meta charset="UTF-8">
<title>铝内胆数据监控平台</title>
<link rel="stylesheet" href="../../../css/aluminumLiner/style.css">
<link rel="stylesheet" href="../../../css/common/ondutyplan.css">
<script src="../../../js/common/jquery.min.js"></script>
<script src="../../../js/common/echarts.min.js"></script>
<script src="../../../js/common/date-time-common.js"></script>
<script src="../../../js/common/update-split-blocks.js"></script>
<!-- <script src="../../../js/common/ondutyplan.js"></script> -->
<script src="../../../js/common/echarts.common.js"></script>
<script src="../../../js/common/scrollTable.js"></script>
</head>
<body>
<!--数据信息-->
<div class="dataInformation" id="dataInformation"></div>
<div class="synthetic" id="synthetic"></div>
<!--设备OEE统计-->
<div class="OEEStatistics" id="OEEStatistics"></div>
@ -34,6 +35,7 @@
<div class="equipmentFailure" id="equipmentFailure"></div>
</body>
<script src="../../../js/common/synthetic.js"></script>
<script src="../../../js/aluminumLiner/index.js"></script>
</html>

@ -7,6 +7,16 @@ body {
background-size: 100% 100%;
}
.dataInformation{
border: 1px solid red;
position: absolute;
width: 24%;
height: 22%;
top: 14%;
left: 3.3%;
}
.OEEStatistics {
border: 0px solid red;
position: absolute;

@ -0,0 +1,118 @@
body {
background-color: aquamarine;
background: url(../../img/tankShell/tankShellDeviceBackground.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.dataInformation {
border: 0px solid red;
position: absolute;
width: 24%;
height: 22%;
top: 14%;
left: 3.3%;
}
.energyProductionStatistics {
border: 0px solid red;
position: absolute;
width: 42%;
height: 6%;
top: 9%;
left: 29%;
}
.runParamStatistics {
border: 0px solid red;
position: absolute;
width: 42%;
height: 7.5%;
top: 25%;
left: 29%;
}
.runParamStatistics div {
border: 0px solid red;
position: absolute;
top: 4%;
width: 13%;
height: 96%;
color: blueviolet;
display: flex;
justify-content: center;
align-items: center;
}
.lossParam{
border: 0px solid yellowgreen;
position: absolute;
width: 8.8%;
height: 4.5%;
top: 12.5%;
right: 6%;
display: flex;
justify-content: center;
align-items: center;
color: #8FB7D1;
}
.meterParam{
border: 0px solid yellowgreen;
position: absolute;
width: 8.8%;
height: 4.5%;
top: 27.4%;
right: 6%;
display: flex;
justify-content: center;
align-items: center;
color:#A5E3B1;
}
.theEnergyConsumptionContrast {
border: 1px solid red;
position: absolute;
width: 24.1%;
height: 21%;
top: 44%;
left: 3.3%;
}
.lossStatistics {
border: 1px solid yellowgreen;
position: absolute;
width: 24%;
height: 21%;
top: 44%;
right: 3.3%;
}
.deviceInfoTable {
border: 1px solid #6ACBFE;
position: absolute;
width: 33%;
height: 21%;
bottom: 5%;
left: 3.3%;
}
.oeeStatistics {
border: 1px solid cornflowerblue;
position: absolute;
width: 33%;
height: 21%;
bottom: 5%;
left: 38%;
}
.faultRank {
border: 1px solid bisque;
position: absolute;
width: 24%;
height: 21%;
bottom: 5%;
right: 3.3%;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

@ -1,5 +1,10 @@
$(() => {
// onDutyPlan(1234, 1202, 33);
const statusArray = [0, 0, 0, 0, 0];
const syntheticDate = [0, 0, 0, 0, 0];
dataInformationFunction(statusArray);
synthetic(syntheticDate)
//设备OEE统计
OEEStatistics(null, document.getElementById("OEEStatistics"));

@ -2188,7 +2188,7 @@ const equipmentFailure = (res, ids) => {
});
let option = {
grid: {
top:'1%',
top: '1%',
left: '6%',
right: '6%',
bottom: '3%',

@ -0,0 +1,45 @@
const dataInformationFunction = (statusArray) => {
let info = `<table style="position: absolute;top: 8%;width: 100%;height:100%;">
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 50%;"><img src="../../img/foamBox/${statusArray[0] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="20%" height="40%"/>${statusArray[0] == 0 ? `<span style="color:green;margin-left: 10px">运行正常</span>` : `<span style="color:red;margin-left: 10px">运行异常</span>`}</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: #E6ECBE;">389kW</td>
</tr>
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 50%;color: white;">4563kW·h</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: #D18DA2;">2</td>
</tr>
</table>`;
$("#dataInformation").append(info);
}
const synthetic = (statusArray) => {
let info = `<table style="position: absolute;top: 9%;left: 30%;width: 40%;height:7%;">
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 23%;color: #99C4EF;">123</td>
<td style="border:0px solid red;text-align:center;width: 27%;color: #7CED92;">123</td>
<td style="border:0px solid red;text-align:center;width: 27%;color: #99C4EF;">123</td>
<td style="border:0px solid red;text-align:center;width: 19%;color: #7CED92;">123</td>
<td style="border:0px solid red;text-align:center;width: 15%;"></td>
</tr>
</table>
<table style="position: absolute;top: 24%;left: 30%;width: 42%;height:10%;">
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 7%;"></td>
<td style="border:0px solid red;text-align:center;width: 13%;color: #70C0EC;">123</td>
<td style="border:0px solid red;text-align:center;width: 13%;"></td>
<td style="border:0px solid red;text-align:center;width: 14%;color: #DB718D;">123</td>
<td style="border:0px solid red;text-align:center;width: 12%;"></td>
<td style="border:0px solid red;text-align:center;width: 13%;color: #8CEF92;">123</td>
<td style="border:0px solid red;text-align:center;width: 13%;"></td>
<td style="border:0px solid red;text-align:center;width: 14%;color: #ECE790;">123</td>
<td style="border:0px solid red;text-align:center;width: 0%;"></td>
</tr>
</table>
<span style="position: absolute;top: 13%;left: 85%;width: 9%;height:4%;text-align:center;background: linear-gradient(to bottom, #D2E5F7, #8CBAE4);color: transparent;display:inline-block;-webkit-background-clip: text;">123213</span>
<span style="position: absolute;top: 28%;left: 85%;width: 9%;height:4%;text-align:center;background: linear-gradient(to bottom, #F1FFFF, #7FE782);color: transparent;display:inline-block;-webkit-background-clip: text;">123213</span>
`;
$("#synthetic").append(info);
}

@ -0,0 +1,55 @@
$(() => {
/*数据信息*/
const statusArray = [0, 0, 0, 0, 0];
dataInformationFunction(statusArray);
energyProductionStatisticsFunction(statusArray);
runParamStatisticsFunction(statusArray);
$("#lossParam").text(123.87);
$("#meterParam").text(123.65);
})
/*数据信息*/
const dataInformationFunction = (statusArray) => {
let info = `<table style="position: absolute;top: 8%;width: 100%;height:100%;">
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 50%;"><img src="../../img/foamBox/${statusArray[0] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="20%" height="40%"/>${statusArray[0] == 0 ? `<span style="color:green;margin-left: 10px">运行正常</span>` : `<span style="color:red;margin-left: 10px">运行异常</span>`}</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: #E6ECBE;">389kW</td>
</tr>
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 50%;color: white;">4563kW·h</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: #D18DA2;">2</td>
</tr>
</table>`;
$("#dataInformation").append(info);
}
/*能耗产量统计*/
const energyProductionStatisticsFunction = (statusArray) => {
let info = `<table style="position: absolute;top: 8%;width: 100%;height:100%;">
<tr style="width: 100%; height: 100%;">
<td style="border:0px solid red;width: 25%;text-align:center;color: #76BBE8;">68</td>
<td style="border:0px solid red;width: 25%;text-align:center;color: #8AE9A0;">675</td>
<td style="border:0px solid red;width: 25%;text-align:center;color: #76BBE8;">68</td>
<td style="border:0px solid red;width: 25%;text-align:center;color: #8AE9A0;">675</td>
</tr>
</table>`;
$("#energyProductionStatistics").append(info);
}
const runParamStatisticsFunction = (statusArray) => {
let info = `
<div style="left: 9%;color:#76BBE8">68</div>
<div style="left: 35%;color:#C0818B">685</div>
<div style="left: 61%;color: #8AE9A0">685</div>
<div style="left: 87%;color:#D5D2AA">685</div>
`;
$("#runParamStatistics").append(info);
}

@ -5,17 +5,18 @@
<meta charset="UTF-8">
<title>铝内胆数据监控平台</title>
<link rel="stylesheet" href="../../../css/aluminumLiner/style.css">
<link rel="stylesheet" href="../../../css/common/ondutyplan.css">
<script src="../../../js/common/jquery.min.js"></script>
<script src="../../../js/common/echarts.min.js"></script>
<script src="../../../js/common/date-time-common.js"></script>
<script src="../../../js/common/update-split-blocks.js"></script>
<!-- <script src="../../../js/common/ondutyplan.js"></script> -->
<script src="../../../js/common/echarts.common.js"></script>
<script src="../../../js/common/scrollTable.js"></script>
</head>
<body>
<!--数据信息-->
<div class="dataInformation" id="dataInformation"></div>
<div class="synthetic" id="synthetic"></div>
<!--设备OEE统计-->
<div class="OEEStatistics" id="OEEStatistics"></div>
@ -34,6 +35,7 @@
<div class="equipmentFailure" id="equipmentFailure"></div>
</body>
<script src="../../../js/common/synthetic.js"></script>
<script src="../../../js/aluminumLiner/index.js"></script>
</html>

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>箱壳成型数据监控平台</title>
<link rel="stylesheet" href="../../../css/tankShell/device.css">
<script src="../../../js/common/jquery.min.js"></script>
<script src="../../../js/common/echarts.min.js"></script>
<script src="../../../js/common/update-split-blocks.js"></script>
<script src="../../../js/common/echarts.common.js"></script>
</head>
<body>
<!--数据信息-->
<div class="dataInformation" id="dataInformation"></div>
<!--能耗产量统计-->
<div class="energyProductionStatistics" id="energyProductionStatistics"></div>
<!--运行参数统计-->
<div class="runParamStatistics" id="runParamStatistics"></div>
<!--loss参数-->
<div class="lossParam" id="lossParam"></div>
<!--节拍参数-->
<div class="meterParam" id="meterParam"></div>
<!--设备能耗产量对比-->
<div class="theEnergyConsumptionContrast" id="theEnergyConsumptionContrast"></div>
<!--loss统计-->
<div class="lossStatistics" id="lossStatistics"></div>
<!--设备信息列表-->
<div class="deviceInfoTable" id="deviceInfoTable"></div>
<!--oee统计-->
<div class="oeeStatistics" id="oeeStatistics"></div>
<!--故障率统计-->
<div class="faultRank" id="faultRank"></div>
</body>
<script src="../../../js/tankShell/device.js"></script>
</html>
Loading…
Cancel
Save