change - 数据连接地址修改

master
wenjy 3 years ago
parent 28f9cd290a
commit 51384034a4

@ -14,7 +14,7 @@
<bytecodeTargetLevel>
<module name="deviceboard" target="8" />
<module name="productionboard" target="8" />
<module name="visualboard" target="1.8" />
<module name="visualboard" target="1.5" />
</bytecodeTargetLevel>
</component>
<component name="JavacSettings">

@ -1,13 +0,0 @@
<component name="libraryTable">
<library name="Maven: cn.easyproject:orai18n:12.1.0.2.0">
<CLASSES>
<root url="jar://D:/开发环境/Maven/apache-maven-3.6.3/repository/cn/easyproject/orai18n/12.1.0.2.0/orai18n-12.1.0.2.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://D:/开发环境/Maven/apache-maven-3.6.3/repository/cn/easyproject/orai18n/12.1.0.2.0/orai18n-12.1.0.2.0-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://D:/开发环境/Maven/apache-maven-3.6.3/repository/cn/easyproject/orai18n/12.1.0.2.0/orai18n-12.1.0.2.0-sources.jar!/" />
</SOURCES>
</library>
</component>

@ -15,8 +15,8 @@
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<output url="file://$MODULE_DIR$/${project.build.directory}/classes" />
<output-test url="file://$MODULE_DIR$/${project.build.directory}/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
@ -114,6 +114,5 @@
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.5.2" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:2.0.2" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:fastjson:1.2.47" level="project" />
<orderEntry type="library" name="Maven: cn.easyproject:orai18n:12.1.0.2.0" level="project" />
</component>
</module>

@ -1,10 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>箱壳可视化看板</title>
</head>
<body>
HelloWorld !!!
</body>
</html>

@ -1,3 +0,0 @@
artifactId=deviceboard
groupId=com.scada
version=0.0.1-SNAPSHOT

@ -1,2 +0,0 @@
com\deviceboard\DeviceBoardApplication.class
com\deviceboard\controller\TestController.class

@ -1,2 +0,0 @@
C:\Users\ADMIN\Desktop\visualboard\deviceboard\src\main\java\com\deviceboard\DeviceBoardApplication.java
C:\Users\ADMIN\Desktop\visualboard\deviceboard\src\main\java\com\deviceboard\controller\TestController.java

@ -15,8 +15,8 @@
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<output url="file://$MODULE_DIR$/${project.build.directory}/classes" />
<output-test url="file://$MODULE_DIR$/${project.build.directory}/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
@ -114,6 +114,5 @@
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.5.2" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis-spring:2.0.2" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:fastjson:1.2.47" level="project" />
<orderEntry type="library" name="Maven: cn.easyproject:orai18n:12.1.0.2.0" level="project" />
</component>
</module>

@ -2,12 +2,12 @@
spring:
datasource:
driver-class-name: oracle.jdbc.OracleDriver
url: jdbc:oracle:thin:@10.100.71.119:1521:ORCL
username: system
password: aucma
# url: jdbc:oracle:thin:@124.70.0.226:1521/scada
# username: aucma
# password: 123456
# url: jdbc:oracle:thin:@10.100.71.119:1521:ORCL
# username: system
# password: aucma
url: jdbc:oracle:thin:@124.70.0.226:1521/scada
username: aucma
password: 123456
mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml

@ -1,15 +0,0 @@
# DataSource Config
spring:
datasource:
driver-class-name: oracle.jdbc.OracleDriver
url: jdbc:oracle:thin:@10.100.71.119:1521:ORCL
username: system
password: aucma
# url: jdbc:oracle:thin:@124.70.0.226:1521/scada
# username: aucma
# password: 123456
mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml
server:
port: 6069

@ -1,5 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.scada.productionboard.mapper.BasicScadaDeviceinfoMapper">
</mapper>

@ -1,35 +0,0 @@
body {
background-color: aquamarine;
background: url(../../img/adsorptionTank/adsorptionTankbackground.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.statisticalOutputByModel{
border: 0px solid red;;
position: absolute;
width: 45.5%;
height: 32%;
bottom: 4.5%;
left: 3.5%;
}
.inventoryStatistics{
border: 0px solid red;;
position: absolute;
width: 45.5%;
height: 32%;
bottom: 4.5%;
right: 3.5%;
}
.hourlyOutputStatistics{
border: 0px solid red;;
position: absolute;
width: 93%;
height: 32%;
top: 23%;
left: 3.5%;
}

@ -1,69 +0,0 @@
body {
background-color: aquamarine;
background: url(../../img/aluminumLiner/aluminumLiner.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%;
font-size: 16px !important;
}
.synthetic{
font-size: 16px !important;
}
.OEEStatistics {
border: 0px solid red;
position: absolute;
width: 42%;
height: 26%;
top: 71.5%;
left: 28.6%;
}
.inventory {
border: 0px solid red;
position: absolute;
width: 28%;
height: 25%;
top: 70%;
left: 1%;
}
.loss {
border: 0px solid red;
position: absolute;
width: 28%;
height: 25%;
top: 41%;
left: 71%;
}
.equipmentFailure {
border: 0px solid red;
position: absolute;
width: 28%;
height: 22%;
top: 75%;
left: 70%;
}
.productionPlan {
position: absolute;
border: 0px solid red;
width: 24%;
height: 21%;
top: 44.5%;
left: 3.5%;
font-size: 9%;
}

@ -1,35 +0,0 @@
body {
background-color: aquamarine;
background: url(../../img/aluminumTank/aluminumTankbackground.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.statisticalOutputByModel{
border: 0px solid red;
position: absolute;
width: 45.5%;
height: 32%;
top: 23%;
left: 3.5%;
}
.inventoryStatistics{
border: 0px solid red;
position: absolute;
width: 45.5%;
height: 32%;
top: 23%;
right: 3.5%;
}
.hourlyOutputStatistics{
border: 0px solid red;
position: absolute;
width: 93%;
height: 32%;
bottom: 4.5%;
left: 3.5%;
}

File diff suppressed because one or more lines are too long

@ -1,43 +0,0 @@
.onDutyPlan{
width: 13%;
height: 5.6%;
position: absolute;
top: 9.8%;
letter-spacing: 1px;
font-size: 12%;
color: #FFC700;
}
.display-blocks {
text-align: center;
font-size: 16% !important;
}
.display-blocks span {
margin-top: 5%;
margin-right: 16%;
}
.display-blocks span:last-child {
margin-right: 0;
}
.theCurrentTeam{
left: 9.8%;
color: #6ACBFE;
}
.scheduledProduction{
left: 34.4%;
color: #FFAE00;
}
.actualOutPut{
left: 59%;
color:#A0FF00;
}
.differenceValue{
left: 83.6%;
color: #F51F1E;
}

File diff suppressed because one or more lines are too long

@ -1,156 +0,0 @@
/*发泡看板CSS样式*/
body {
background-color: aquamarine;
background: url(../../img/foamBox/foamBoxbackground.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.theCurrentTeam {
display: none;
}
.onDutyPlan {
border: 0px solid red;
width: 10.9%;
position: absolute;
top: 14.8%;
letter-spacing: -1px;
}
.scheduledProduction {
left: 30%;
}
.actualOutPut {
left: 44.5%;
}
.differenceValue {
left: 59%;
}
.foamingLineRunStatus {
position: absolute;
width: 40%;
height: 27%;
top: 10.5%;
left: 30.1%;
}
.inventoryStatistics {
border: 0px solid red;
position: absolute;
width: 23.5%;
height: 23.3%;
top: 14.5%;
left: 3.5%;
}
.statisticalOutputByModel {
border: 0px solid red;
position: absolute;
width: 23.5%;
height: 49%;
top: 46%;
left: 3.5%;
}
.hourlyOutputStatistics {
border: 0px solid red;
position: absolute;
width: 68%;
height: 20%;
bottom: 5%;
right: 3.5%;
}
.foamingParameters {
border: 0px solid red;
position: absolute;
width: 23.5%;
height: 23.3%;
top: 14.5%;
right: 3.5%;
}
.deviceRunStatus {
/*position: absolute;
width: 38%;
height: 10%;
top: 25.5%;
left: 33%;
border: 1px solid red;
color: white;
font-size: 12px;*/
position: absolute;
width: 40%;
height: 10%;
top: 25.5%;
left: 30.2%;
border: 0px solid red;
color: white;
font-size: 12px;
}
.temperatureOne {
width: 100%;
height: 100%;
}
.temperatureTwo {
width: 100%;
height: 100%;
}
.temperatureThree {
width: 100%;
height: 100%;
}
.temperatureFour {
width: 100%;
height: 100%;
}
.swiperModule {
position: absolute;
width: 23%;
height: 19%;
top: 46%;
left: 73%;
}
.swiper {
width: 100%;
height: 100%;
}
.swiper-slide {
text-align: center;
font-size: 18px;
/* background: #fff; */
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}

@ -1,35 +0,0 @@
body {
background-color: aquamarine;
background: url(../../img/preassemble/preassemblebackground.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.statisticalOutputByModel{
border: 0px solid red;
position: absolute;
width: 45.5%;
height: 32%;
bottom: 4.5%;
left: 3.5%;
}
.inventoryStatistics{
border: 0px solid red;
position: absolute;
width: 45.5%;
height: 32%;
bottom: 4.5%;
right: 3.5%;
}
.hourlyOutputStatistics{
border: 0px solid red;
position: absolute;
width: 93%;
height: 32%;
top: 23%;
left: 3.5%;
}

@ -1,110 +0,0 @@
body {
background-color: aquamarine;
background: url(../../img/storage/storagebackground.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.onDutyPlan {
width: 11%;
height: 5.6%;
position: absolute;
top: 24.5%;
letter-spacing: -1px;
font-size: 12%;
border: 0px solid;
}
.theCurrentTeam {
left: 42%;
color: #6ACBFE;
}
.scheduledProduction {
left: 55.2%;
color:#A0FF00;
}
.actualOutPut {
left: 69.7%;
color: #6ACBFE;
}
.differenceValue {
left: 82.9%;
color:#A0FF00;
}
.productionPlan{
position: absolute;
border: 0px solid red;
width: 33%;
height: 36%;
top: 14.5%;
left: 3.5%;
font-size: 12%;
}
.theCurrentInventory{
position: absolute;
border: 0px solid red;
width: 33%;
height: 36%;
bottom: 5%;
left: 3.5%;
font-size: 12%;
}
.emptyLocation{
position: absolute;
border: 0px solid red;
width: 4%;
height: 4%;
top: 48.3%;
color:#6BFF71;
font-size: 14%;
display: flex;
align-items: center;
justify-content: center;
}
.haveUsedLocation{
position: absolute;
border: 0px solid red;
width: 4%;
height: 4%;
top: 65%;
color:#FF9768;
font-size: 14%;
display: flex;
align-items: center;
justify-content: center;
}
.emptyLocationRatio{
position: absolute;
border: 0px solid red;
width: 4%;
height: 4%;
bottom: 10%;
color:#FF9768;
font-size: 14%;
display: flex;
align-items: center;
justify-content: center;
}
.haveUsedLocationRatio{
position: absolute;
border: 0px solid red;
width: 4%;
height: 4%;
bottom: 10%;
color:#FF9768;
font-size: 14%;
display: flex;
align-items: center;
justify-content: center;
}

@ -1,127 +0,0 @@
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%;
font-size: 17% !important;
}
.energyProductionStatistics {
border: 0px solid red;
position: absolute;
width: 42%;
height: 6%;
top: 8%;
left: 29%;
font-size: 16px !important;
}
.runParamStatistics {
border: 0px solid red;
position: absolute;
width: 42%;
height: 7.5%;
top: 25%;
left: 29%;
font-size: 16px !important;
}
.runParamStatistics div {
border: 0px solid red;
position: absolute;
top: 4%;
width: 13%;
height: 96%;
color: blueviolet;
display: flex;
justify-content: center;
align-items: center;
/* font-size: 16px !important; */
}
.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;
font-size: 175% !important;
}
.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;
font-size: 175% !important;
}
.OEEStatistics {
border: 0px solid red;
position: absolute;
width: 35%;
height: 26%;
top: 71.5%;
left: 36%;
}
.equipmentFailure {
border: 0px solid red;
position: absolute;
width: 28%;
height: 22%;
top: 75%;
left: 70%;
}
.loss {
border: 0px solid red;
position: absolute;
width: 28%;
height: 25%;
top: 41%;
left: 71%;
}
.productionPlan {
position: absolute;
border: 0px solid red;
width: 33%;
height: 21%;
top: 73.5%;
left: 3.5%;
font-size: 9%;
}
.energyConsumption {
position: absolute;
border: 0px solid red;
width: 26%;
height: 20%;
top: 46%;
left: 2%;
font-size: 9%;
}

@ -1,35 +0,0 @@
body {
background-color: aquamarine;
background: url(../../img/tankShell/tankshellbackground.jpg);
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
.statisticalOutputByModel{
border: 0px solid red;
position: absolute;
width: 45.5%;
height: 32%;
top: 23%;
left: 3.5%;
}
.inventoryStatistics{
border: 0px solid red;
position: absolute;
width: 45.5%;
height: 32%;
top: 23%;
right: 3.5%;
}
.hourlyOutputStatistics{
border: 0px solid red;
position: absolute;
width: 93%;
height: 32%;
bottom: 4.5%;
left: 3.5%;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 MiB

@ -1,18 +0,0 @@
$(()=>{
onDutyPlan(1234,1202,33);
//按型号统计产量
$.getJSON('/tankShell/getStatisticalOutputByModel', function (result) {
horizontalBarChart(result,document.getElementById("statisticalOutputByModel"));
});
//小时产量
brokenLineAreaDiagram(null,document.getElementById("hourlyOutputStatistics"));
//库存统计
$.getJSON('/tankShell/getInventoryStatistics', function (result) {
threeDimensionalCylindrical(result,document.getElementById("inventoryStatistics"));
});
})

@ -1,77 +0,0 @@
$(() => {
//数据信息
$.getJSON('/aluminumLiner/getDataInformation', function (result) {
const statusArray = [1, 0, 0, 0, 0];
if (result.length > 0) {
statusArray[0] = result[0].deviceStatus == "正常" ? 0 : 1;
statusArray[1] = result[0].devicePower;
statusArray[2] = result[0].deviceEnergy;
}
dataInformationFunction(statusArray);
});
$.getJSON('/aluminumLiner/getRunParameters', function (result) {
synthetic(result)
});
//loss/aluminumLiner/getLossStatistics
$.getJSON('/aluminumLiner/getLossStatistics', function (result) {
loss(result, document.getElementById("loss"));
});
//设备OEE统计
$.getJSON('/aluminumLiner/getOeeStatistics', function (result) {
OEEStatistics(result, document.getElementById("OEEStatistics"));
});
//库存情况
$.getJSON('/tankShell/getInventoryStatistics', function (result) {
inventory(result, document.getElementById("inventory"));
});
//生产计划
$.ajax({
url: '/storage/getProductionPlan',
type: 'GET',
dataType: 'JSON',
success: function (res) {
let Res = res
Res.data.forEach(val => {
val[0] = 'sc-228NE'
val[1] = '431'
val[2] = '0'
val[3] = '431'
val[4] = '0%'
});
Res.header = ['型号', '计划数', '完成数', '差异数', '执行进度']
dynamicTable({
el: '#productionPlan',
rowNum: 5,
timeout: 0,
header: Res.header,
data: Res.data,
index: false,
fontColor: '#B4B7BF ',
indexBGC: '#86F3FF',
headerBGC: 'rgba(8,36,75,0.2)',
oddRowBGC: 'rgba(8,36,75,0.2)',
evenRowBGC: 'rgba(6,25,57,0.2)',
colWidth: ['100%', '100%', '100%', '100%', '100%']
});
},
error: function (e) {
console.log(e)
}
});
//设备故障排名
$.getJSON('/tankShell/getStatisticalOutputByModel', function (result) {
equipmentFailure(result, document.getElementById("equipmentFailure"));
});
})

@ -1,18 +0,0 @@
$(()=>{
//班组统计
onDutyPlan(1234,1202,33);
//按型号统计产量
$.getJSON('/aluminumTank/getStatisticalOutputByModel', function (result) {
horizontalBarChart(result,document.getElementById("statisticalOutputByModel"));
});
//小时产量
bluePolygonHistogram(null,document.getElementById("hourlyOutputStatistics"));
//库存统计
$.getJSON('/aluminumTank/getInventoryStatistics', function (result) {
multipleThreeDimensionalCylindrical(result,document.getElementById("inventoryStatistics"));
});
})

@ -1,77 +0,0 @@
document.write('<div style="position:absolute;width:4.2%;height:2%;top: 2.4%;left: 84.14%;border: 0 solid red;color:#71D7FF;font-size:0.08rem;">\n' +
' <span id="timeinfo"></span>\n' +
'</div>\n' +
'\n' +
'<div style="position:absolute;width:4.2%;height:2%;top: 2.4%;left: 92%;border: 0 solid red;color:#71D7FF;font-size:0.08rem;">\n' +
' <span id="dateinfo"></span>\n' +
'</div>\n')
/*alert($(window).height());
var sonStyle = document.getElementsByClassName("son");
sonStyle.style.height = $(window).height()-500 + "px";*/
let rootWidth = document.documentElement.clientWidth || document.body.clientWidth;
let rootDom = document.querySelector('html');
rootDom.style.fontSize = rootWidth / 10 + 'px';
getnow();
function getnow(){
//1、获得当前时间格式化时间
var now=new Date();
var year=now.getFullYear();
var month=now.getMonth()+1;
if(month<10){
month="0"+month;
}
var date=now.getDate();
if(date<10){
date="0"+date;
}
var hour=now.getHours();
if(hour<10){
hour="0"+hour;
}
var minute=now.getMinutes();
if(minute<10){
minute="0"+minute;
}
var second=now.getSeconds();
if(second<10){
second="0"+second;
}
var nowstr=year+"-"+month+"-"+date+" "+hour+":"+minute+":"+second;
//alert(nowstr);
//alert(nowstr);
//2、显示时间 html
//获得标签对象
/*var nowspan=document.getElementById("nowspan");
nowspan.innerHTML=nowstr;*/
//2021-09-30 12:00:00
$("#dateinfo").html(nowstr.slice(0,10));
$("#timeinfo").html(nowstr.slice(11,19));
//3、使时间动起来
setTimeout("getnow()", 1000);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -1,66 +0,0 @@
/*当前班组统计封装*/
$(() =>{
let html = `<div id="theCurrentTeam" class="onDutyPlan display-blocks theCurrentTeam">
<span>-</span>
<span>-</span>
<span>-</span>
<span>-</span>
</div>
<div id="scheduledProduction" class="onDutyPlan display-blocks scheduledProduction">
<span>0</span>
<span>0</span>
<span>0</span>
<span>0</span>
</div>
<div id="actualOutPut" class="onDutyPlan display-blocks actualOutPut">
<span>0</span>
<span>0</span>
<span>0</span>
<span>0</span>
</div>
<div id="differenceValue" class="onDutyPlan display-blocks differenceValue">
<span>0</span>
<span>0</span>
<span>0</span>
<span>0</span>
</div>`;
$('body').append(html);
})
let onDutyPlan = (scheduledProductionNumber,actualOutPutNumber,differenceValueNumber) =>{
const scheduledProduction = [];
const actualOutPut = [];
const differenceValue = [];
for (let i = 1; i <= 4; i++) {
scheduledProduction.push(`#scheduledProduction :nth-child(${i})`);
actualOutPut.push(`#actualOutPut :nth-child(${i})`);
differenceValue.push(`#differenceValue :nth-child(${i})`);
}
updateSplitBlocks(scheduledProductionNumber, scheduledProduction);
updateSplitBlocks(actualOutPutNumber, actualOutPut);
updateSplitBlocks(differenceValueNumber, differenceValue);
}
let storageStatistics = (leftInStoreNumber,leftOutStoreNumber,rightInStoreNumber,rightOutStoreNumber) =>{
const leftInStore = [];
const leftOutStore = [];
const rightInStore = [];
const rightOutStore = [];
for (let i = 1; i <= 4; i++) {
leftInStore.push(`#theCurrentTeam :nth-child(${i})`);
leftOutStore.push(`#scheduledProduction :nth-child(${i})`);
rightInStore.push(`#actualOutPut :nth-child(${i})`);
rightOutStore.push(`#differenceValue :nth-child(${i})`);
}
updateSplitBlocks(leftInStoreNumber, leftInStore);
updateSplitBlocks(leftOutStoreNumber, leftOutStore);
updateSplitBlocks(rightInStoreNumber, rightInStore);
updateSplitBlocks(rightOutStoreNumber, rightOutStore);
}

@ -1,245 +0,0 @@
/**
* dynamicTable 动态表格
* @param { Object } resource
* @param { String } el : 指定元素
* @param { Array } header : 表头
* @param { Array } data : 数据行
* @param { Number } rowNum : 显示行数
* @param { Boolean } index : 是否显示索引列
* @param { Number } timeout : 滚动动画延时
* @param { String } headerBGC : 标题栏背景颜色
* @param { String } oddRowBGC : 奇数行背景颜色
* @param { String } evenRowBGC : 偶数行背景颜色
* @param { String } fontColor : 字体颜色
* @param { String } indexBGC : 索引列背景颜色
* @param { Array } colWidth : 每列的宽度
*/
let dynamicTable = resource => {
'use strict';
//检查参数类型
if (typeof resource !== 'object') {
console.error('未传入参数,或者参数不是Object类型');
return
}
// 检查是否传入元素
const ele = resource.el;
if (!ele) {
console.error('元素获取不正确!');
return
}
/**
* 检查是否传入动画触发时长
* 当时间小于 10 计算为秒级单位
* 大于 10 计算为毫秒级单位
*/
let timeout = resource.timeout;
if (!timeout) {
timeout = 2000
} else if (timeout < 10) {
timeout = timeout * 1000
}
// 检查 配置元素是否传入数据
const colName = resource.header === undefined ? '' : resource.header;
const rowData = resource.data === undefined ? '' : resource.data;
const rowNum = resource.rowNum === undefined ? '20%' : 100 / resource.rowNum + '%';
const headerBGC = resource.headerBGC === undefined ? '#999' : resource.headerBGC;
const oddRowBGC = resource.oddRowBGC === undefined ? '#bbb' : resource.oddRowBGC;
const evenRowBGC = resource.evenRowBGC === undefined ? '#ddd' : resource.evenRowBGC;
const fontColor = resource.fontColor === undefined ? 'black' : resource.fontColor;
const indexBGC = resource.indexBGC === undefined ? '#555' : resource.indexBGC;
const colIndex = resource.index === undefined ? true : resource.index;
const colWidth = resource.colWidth === undefined ? false : resource.colWidth;
const indexColor = fontColor.search(/('black')|(0{3,6})/) ? "white" : fontColor;
//基本table html
const html = `
<div class="table">
<div class="thead">
<div class="tr"></div>
</div>
<div class="tbody"></div>
</div>
`;
//Css样式集
const boxCSS = {
overflow: 'hidden',
background: headerBGC
};
const tableCSS = {
color: fontColor,
width: '100%',
height: '100%'
};
const theadCSS = {
width: '100%',
height: '20%'
};
const thead_trCSS = {
display: "flex",
flexWrap: "nowrap",
width: "100%",
height: "100%",
background: headerBGC,
justifyContent: "space-around"
};
const thCSS = {
justifyContent: "space-around",
fontWeight: "bold"
};
const tbodyCSS = {
width: "100%",
height: '80%',
boxSizing: 'border-box'
};
const tbody_trCSS = {
flexWrap: "nowrap",
width: "100%",
height: rowNum,
justifyContent: "space-around"
};
const trOddCSS = {
display: "flex",
background: oddRowBGC
};
const trEvenCSS = {
display: "flex",
background: evenRowBGC
};
const th_tdCSS = {
margin: 'auto',
whiteSpace: 'nowrap',
overflow: "hidden",
textOverflow: 'ellipsis',
textAlign: 'center',
padding: '0 4px 0 4px'
};
const indexCSS = {
display: 'inline-block',
width: '90%',
height: "90%",
background: indexBGC,
color: indexColor,
borderRadius: '20%',
margin: 'auto'
};
//插入table元素
$(ele).append(html);
//核心代码
//遍历插入数据 表头
if (colIndex) {
$(ele + '>.table>.thead>.tr').append('<div class="th"><span class="index">#</span></div>')
}
colName.forEach(element => {
$(ele + '>.table>.thead>.tr').append(`<div class="th">${element}</div>`)
});
//遍历插入数据 数据行
for (let i = 0; i < rowData.length; i++) {
$(ele + '>.table>.tbody').append('<div class="tr"></div>');
if (colIndex) {
$(ele + '>.table>.tbody>.tr:eq(' + i + ')').append(
`<div class="td"><span class="index">${i+1}</span></div>`)
}
rowData[i].forEach(element => {
if (element == "一级") {
$(ele + '>.table>.tbody>.tr:eq(' + i + ')').append(
`<div class="td" ><img src="img/firstAlarm.png" alt="一级报警" width="30%" height="30%" /></div>`
)
} else if (element == "二级") {
$(ele + '>.table>.tbody>.tr:eq(' + i + ')').append(
`<div class="td" ><img src="img/secondAlarm.png" alt="二级报警" width="30%" height="30%" /></div>`
)
} else if (element == "三级") {
$(ele + '>.table>.tbody>.tr:eq(' + i + ')').append(
`<div class="td" ><img src="img/thirdlyAlarm.png" alt="三级报警" width="30%" height="30%" /></div>`
)
} else if (element == "未处理") {
$(ele + '>.table>.tbody>.tr:eq(' + i + ')').append(
`<div class="td" Style="border:1px solid #D81F29;border-radius: 6px;background-color:#941D3B;color:white">${element}</div>`
)
} else if (element == "处理中") {
$(ele + '>.table>.tbody>.tr:eq(' + i + ')').append(
`<div class="td" Style="border:1px solid #E08018;border-radius: 6px;background-color:#935A2F;color:white">${element}</div>`
)
} else if (element == "已结束") {
$(ele + '>.table>.tbody>.tr:eq(' + i + ')').append(
`<div class="td" Style="border:1px solid #0FF4D5;border-radius: 6px;background-color:#0B9EA9;color:white">${element}</div>`
)
} else {
$(ele + '>.table>.tbody>.tr:eq(' + i + ')').append(`<div class="td">${element}</div>`)
}
})
}
//设置CSS样式
$(ele).css(boxCSS);
$(ele + '>.table').css(tableCSS);
$(ele + '>.table>.thead').css(theadCSS);
$(ele + '>.table>.thead>.tr').css(thead_trCSS);
$(ele + '>.table>.thead>.tr>.th').css(th_tdCSS).css(thCSS);
$(ele + '>.table>.tbody').css(tbodyCSS);
$(ele + '>.table>.tbody>.tr').css(tbody_trCSS);
$(ele + '>.table>.tbody>.tr:odd').css(trOddCSS);
$(ele + '>.table>.tbody>.tr:even').css(trEvenCSS);
$(ele + '>.table>.tbody>.tr>.td').css(th_tdCSS);
$(ele + '>.table span.index').css(indexCSS)
//统一计量单位
const emptyUnit = element => element.replace(/[^0-9]/g, '');
const hendlen = $(`${ele}>.table>.thead>.tr>.th`).length;
const bodylen = $(`${ele}>.table>.tbody>.tr:nth-child(1)>.td`).length;
const ceil = Math.ceil;
/**
* 设置每列的宽度
* eq() 是在匹配的元素中取下标为n的元素
* nth-child() 是在匹配元素的父元素中选择第n个元素
*/
if (!colWidth) {
$(`${ele}>.table>.thead>.tr>.th`).css({
width: ceil(100 / hendlen) + '%'
});
$(`${ele}>.table>.tbody>.tr>.td`).css({
width: ceil(100 / bodylen) + '%'
});
} else {
for (let i = 0; i < colWidth.length; i++) {
let emptyUnitColWidth = emptyUnit(colWidth[i]);
$(`${ele}>.table>.thead>.tr>.th:nth-child(${i+1})`).width(emptyUnitColWidth);
$(`${ele}>.table>.tbody>.tr>.td:nth-child(${i+1})`).width(emptyUnitColWidth);
}
}
//奇偶校验 --> 处理最后一行是奇数的问题
let oddORevenCheck = $(`${ele}>.table>.tbody>.tr`).length % 2 == 0 ? 'even' : 'odd';
//滚动动画
setInterval(function() {
$(ele + '>.table>.tbody>.tr:eq(0)').slideToggle(100, function() {
switch (oddORevenCheck) {
case 'even':
$(this).clone().css(trEvenCSS).appendTo(ele + '>.table>.tbody');
oddORevenCheck = 'odd';
break;
case 'odd':
$(this).clone().css(trOddCSS).appendTo(ele + '>.table>.tbody');
oddORevenCheck = 'even';
break;
}
$(this).remove();
});
}, timeout);
// 组件销毁钩子
$(`${ele}`).bind('DOMNodeRemoved', (e) => {
if (e.target.classList[0] === 'asit-table') {
clearInterval(timer);
}
});
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,43 +0,0 @@
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%;"><i ${statusArray[0] == 1 ? 'style="color:green;"' : 'style="color: red;"'} class="fa-regular ${statusArray[0] == 1 ? "fa-circle-check" : "fa-circle-xmark"}"></i>${statusArray[0] == 1 ? `<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;">${statusArray[1]}</td>
</tr>
<tr style="width: 100%; height: 50%;">
<td style="border:0px solid red;text-align:center;width: 50%;color: white;">${statusArray[2]}kW·h</td>
<td style="border:0px solid red;text-align:center;width: 50%;color: #D18DA2;">${statusArray[3]}</td>
</tr>
</table>`;
$("#dataInformation").append(info);
}
const synthetic = (statusArray) => {
console.log(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;font-size:175%;text-align:center;width: 23%;color: #99C4EF;">${statusArray[0] || 0}</td>
<td style="border:0px solid red;font-size:175%;text-align:center;width: 27%;color: #7CED92;">${statusArray[1] || 0}</td>
<td style="border:0px solid red;font-size:175%;text-align:center;width: 27%;color: #99C4EF;">${statusArray[2] || 0}</td>
<td style="border:0px solid red;font-size:175%;text-align:center;width: 19%;color: #7CED92;">${statusArray[3] || 0}</td>
<td style="border:0px solid red;font-size:175%;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;font-size:175%;text-align:center;width: 13%;color: #70C0EC;">${statusArray[4] || 0}</td>
<td style="border:0px solid red;text-align:center;width: 13%;"></td>
<td style="border:0px solid red;font-size:175%;text-align:center;width: 14%;color: #DB718D;">${statusArray[5] || 0}</td>
<td style="border:0px solid red;text-align:center;width: 12%;"></td>
<td style="border:0px solid red;font-size:175%;text-align:center;width: 13%;color: #8CEF92;">${statusArray[6] || 0}</td>
<td style="border:0px solid red;text-align:center;width: 13%;"></td>
<td style="border:0px solid red;font-size:175%;text-align:center;width: 14%;color: #ECE790;">${statusArray[7] || 0}</td>
<td style="border:0px solid red;text-align:center;width: 0%;"></td>
</tr>
</table>
<span style="position: absolute;font-size:175%;top: 12%;left: 85%;width: 15%;height:10%;text-align:left;background: linear-gradient(to bottom, #D2E5F7, #8CBAE4);color: transparent;display:inline-block;-webkit-background-clip: text;">${statusArray[8] || 0}</span>
<span style="position: absolute;font-size:175%;top: 26.7%;left: 85%;width: 15%;height:10%;text-align:left;background: linear-gradient(to bottom, #F1FFFF, #7FE782);color: transparent;display:inline-block;-webkit-background-clip: text;">${statusArray[9] || 0}</span>
`;
$("#synthetic").append(info);
}

@ -1,20 +0,0 @@
function updateSplitBlocks(num, selectors) {
const numStr = numberPad(num, selectors.length, true)
for (let index in numStr) {
document.querySelector(selectors[index]).innerText = numStr[index].toString()
}
}
function numberPad(num, length, abs = false) {
if (isNaN(num)) {
num = 0
}
const negative = num < 0 && !abs
const outStr = Math.abs(num).toString().padStart(length, '0')
if (negative) {
return '-' + outStr
}
return outStr
}

@ -1,139 +0,0 @@
$(() => {
//班组计划统计
onDutyPlan(1234, 1202, 33);
//设备运行状态
let statusArray = [0, 0, 0, 0, 1, 0];
deviceStatus(statusArray);
//库存统计
$.getJSON('/foamBox/getInventoryStatistics', function (result) {
threeDimensionalCylindrical(result, document.getElementById("inventoryStatistics"));
});
//按型号统计产量
$.getJSON('/foamBox/getStatisticalOutputByModel', function (result) {
horizontalBarChart(result, document.getElementById("statisticalOutputByModel"));
});
//小时产量
brokenLineAreaDiagram(null, document.getElementById("hourlyOutputStatistics"));
//发泡参数
multipleBrokenLineAreaDiagram(null, document.getElementById("foamingParameters"));
// 模具温度1
const temperature = (res, ids) => {
let mycharts = echarts.init(ids);
let option = {
grid: {
top: '10%',
left: '6%',
right: '6%',
bottom: '0',
containLabel: true
},
xAxis: [
{
interval: 0,
type: 'category',
data: ['066', '066', '066', '066', '066'],
axisPointer: {
type: 'shadow'
}
}
],
yAxis: [
{
splitLine: {
show: false,
},
type: 'value',
name: 'Precipitation',
min: 0,
max: 50,
interval: 10,
axisLabel: {
formatter: '{value} ml'
}
},
{
splitLine: {
show: false,
},
type: 'value',
name: 'Temperature',
min: 0,
max: 5,
interval: 1,
axisLabel: {
formatter: '{value} °C'
}
}
],
series: [
{
name: 'Evaporation',
type: 'bar',
tooltip: {
valueFormatter: function (value) {
return value + ' ml';
}
},
data: [
2.0, 4.9, 7.0, 23.2, 25.6
]
},
{
name: 'Precipitation',
type: 'bar',
tooltip: {
valueFormatter: function (value) {
return value + ' ml';
}
},
data: [
2.6, 5.9, 9.0, 26.4, 28.7
]
},
]
};
mycharts.setOption(option);
$(window).resize(mycharts.resize);
}
$.getJSON('/foamBox/getStatisticalOutputByModel', function (result) {
temperature(result, document.getElementById("temperatureOne"));
});
$.getJSON('/foamBox/getStatisticalOutputByModel', function (result) {
temperature(result, document.getElementById("temperatureTwo"));
});
$.getJSON('/foamBox/getStatisticalOutputByModel', function (result) {
temperature(result, document.getElementById("temperatureThree"));
});
$.getJSON('/foamBox/getStatisticalOutputByModel', function (result) {
temperature(result, document.getElementById("temperatureFour"));
});
})
const deviceStatus = (statusArray) => {
let info = `<table style="width: 100%;height:100%;">
<tr style="width: 100%;">
<td style="border:0px solid red;text-align:center;"><img src="../../img/foamBox/${statusArray[0] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:center;"><img src="../../img/foamBox/${statusArray[1] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:center;"><img src="../../img/foamBox/${statusArray[2] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:center;"><img src="../../img/foamBox/${statusArray[3] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:right;padding-right: 12px;"><img src="../../img/foamBox/${statusArray[4] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:right;"><img src="../../img/foamBox/${statusArray[5] == 0 ? "deviceopen.png" : "deviceclose.png"}" width="40%" height="50%"/></td>
</tr>
</table>`;
$("#deviceRunStatus").append(info);
}

@ -1,18 +0,0 @@
$(()=>{
onDutyPlan(1234,1202,33);
//按型号统计产量
$.getJSON('/tankShell/getStatisticalOutputByModel', function (result) {
console.log(result);
horizontalBarChart(result,document.getElementById("statisticalOutputByModel"));
});
//小时产量
greenPolygonalHistogram(null,document.getElementById("hourlyOutputStatistics"));
//库存统计
$.getJSON('/tankShell/getInventoryStatistics', function (result) {
threeDimensionalCylindrical(result,document.getElementById("inventoryStatistics"));
});
})

@ -1,45 +0,0 @@
$(()=>{
//单日出入库统计
storageStatistics(123,233,211,124);
//生产计划
$.ajax({
url: '/storage/getProductionPlan',
type: 'GET',
dataType: 'JSON',
success: function(res) {
dynamicTable({
el: '#productionPlan',
rowNum: 5,
timeout: 0,
header: res.header,
data: res.data,
index: false,
fontColor: '#B4B7BF ',
indexBGC: '#86F3FF',
headerBGC: 'rgba(8,36,75,0.2)',
oddRowBGC: 'rgba(8,36,75,0.2)',
evenRowBGC: 'rgba(6,25,57,0.2)',
colWidth: ['100%', '100%', '100%', '100%','100%']
});
},
error: function(e) {
console.log(e)
}
});
//当前库存统计
multipleThreeDimensionalCylindrical(null,document.getElementById("theCurrentInventory"));
//库存统计
$("#emptyLocation-left").text(123);
$("#emptyLocation-right").text(456);
$("#haveUsedLocation-left").text(789);
$("#haveUsedLocation-right").text(1234);
//库位占比
$("#emptyLocationNumber").text(68);
$("#emptyLocationRatio").text("39%");
$("#haveUsedLocationNumber").text(132);
$("#haveUsedLocationRatio").text("61%");
})

@ -1,111 +0,0 @@
$(() => {
//设备OEE统计
$.getJSON('/tankShellDevice/getOeeStatistics', function (result) {
OEEStatistics(result, document.getElementById("OEEStatistics"));
});
//设备故障排名
$.getJSON('/tankShell/getStatisticalOutputByModel', function (result) {
equipmentFailure(result, document.getElementById("equipmentFailure"));
});
//loss
$.getJSON('/tankShell/getInventoryStatistics', function (result) {
loss(result, document.getElementById("loss"));
});
//设备产量能耗对比
$.getJSON('/tankShellDevice/getEnergyConsumption', function (result) {
energyConsumption(result, document.getElementById("energyConsumption"));
});
//生产计划
$.ajax({
url: '/storage/getProductionPlan',
type: 'GET',
dataType: 'JSON',
success: function (res) {
let Res = res
Res.data.forEach(val => {
val[0] = 'SHEBEI452736'
val[1] = 'AGYM45HH23'
val[2] = '32'
val[3] = '2021.01.01 10:00:00'
delete val[4]
});
Res.header = ['设备名称', '参数名称', '当前值', '时间',]
dynamicTable({
el: '#productionPlan',
rowNum: 5,
timeout: 0,
header: Res.header,
data: Res.data,
index: false,
fontColor: '#B4B7BF ',
indexBGC: '#86F3FF',
headerBGC: 'rgba(8,36,75,0.2)',
oddRowBGC: 'rgba(8,36,75,0.2)',
evenRowBGC: 'rgba(6,25,57,0.2)',
colWidth: ['100%', '100%', '40%', '160%',]
});
},
error: function (e) {
console.log(e)
}
});
/*数据信息*/
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%;"><i ${statusArray[0] == 1 ? 'style="color:green;"' : 'style="color: red;"'} class="fa-regular ${statusArray[0] == 1 ? "fa-circle-check" : "fa-circle-xmark"}"></i>${statusArray[0] == 1 ? `<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="font-size:175%;border:0px solid red;width: 25%;text-align:center;color: #76BBE8;">68</td>
<td style="font-size:175%;border:0px solid red;width: 25%;text-align:center;color: #8AE9A0;">675</td>
<td style="font-size:175%;border:0px solid red;width: 25%;text-align:center;color: #76BBE8;">68</td>
<td style="font-size:175%;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="font-size:175%;left: 9%;color:#76BBE8">68</div>
<div style="font-size:175%;left: 35%;color:#C0818B">685</div>
<div style="font-size:175%;left: 61%;color: #8AE9A0">685</div>
<div style="font-size:175%;left: 87%;color:#D5D2AA">685</div>
`;
$("#runParamStatistics").append(info);
}

@ -1,18 +0,0 @@
$(()=>{
//班组统计
onDutyPlan(1234,1202,33);
//按型号统计产量
$.getJSON('/tankShell/getStatisticalOutputByModel', function (result) {
horizontalBarChart(result,document.getElementById("statisticalOutputByModel"));
});
//小时产量
brokenLineAreaDiagram(null,document.getElementById("hourlyOutputStatistics"));
//库存统计
$.getJSON('/tankShell/getInventoryStatistics', function (result) {
multipleThreeDimensionalCylindrical(result,document.getElementById("inventoryStatistics"));
});
})

@ -1,27 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>吸附内胆数据监控平台</title>
<link rel="stylesheet" href="../../../css/adsorptionTank/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>
</head>
<body>
<!--小时产量统计-->
<div class="hourlyOutputStatistics" id="hourlyOutputStatistics"></div>
<!--型号产量统计-->
<div class="statisticalOutputByModel" id="statisticalOutputByModel"></div>
<!--库存统计-->
<div class="inventoryStatistics" id="inventoryStatistics"></div>
</body>
<script src="../../../js/adsorptionTank/index.js"></script>
</html>

@ -1,46 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>铝内胆数据监控平台</title>
<link rel="stylesheet" href="../../../css/aluminumLiner/style.css">
<link rel="stylesheet" href="../../../css/common/fontawesome-all.min.css">
<script src="../../../js/common/fontawesome-all.min.js"></script>
<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>
<script src="../../../js/common/scrollTable.js"></script>
<script src="../../../js/common/date-time-common.js"></script>
</head>
<body>
<!--数据信息-->
<div class="dataInformation" id="dataInformation"></div>
<!--能耗产量统计-->
<div class="synthetic" id="synthetic"></div>
<!--设备OEE统计-->
<div class="OEEStatistics" id="OEEStatistics"></div>
<!--库存情况-->
<div class="inventory" id="inventory"></div>
<!--生产计划-->
<div class="productionPlan" id="productionPlan"></div>
<!--loss-->
<div class="loss" id="loss"></div>
<!--设备故障排名-->
<div class="equipmentFailure" id="equipmentFailure"></div>
</body>
<script src="../../../js/common/synthetic.js"></script>
<script src="../../../js/aluminumLiner/index.js"></script>
</html>

@ -1,29 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>铝内胆数据监控平台</title>
<link rel="stylesheet" href="../../../css/aluminumTank/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>
</head>
<body>
<!--按型号统计产量-->
<div class="statisticalOutputByModel" id="statisticalOutputByModel"></div>
<!--库存统计-->
<div class="inventoryStatistics" id="inventoryStatistics"></div>
<!--小时产量-->
<div class="hourlyOutputStatistics" id="hourlyOutputStatistics"></div>
</body>
<script src="../../../js/aluminumTank/index.js"></script>
</html>

@ -1,78 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>发泡和发泡线数据展示平台</title>
<link rel="stylesheet" href="../../../css/common/ondutyplan.css">
<link rel="stylesheet" href="../../../css/foamBox/style.css">
<link rel="stylesheet" href="../../../css/common/swiper-bundle.min.css">
<script src="../../../js/common/swiper-bundle.min.js"></script>
<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>
</head>
<body>
<!--库存统计-->
<div class="inventoryStatistics" id="inventoryStatistics"></div>
<!--型号产量统计-->
<div class="statisticalOutputByModel" id="statisticalOutputByModel"></div>
<!--小时产量统计-->
<div class="hourlyOutputStatistics" id="hourlyOutputStatistics"></div>
<!--发泡参数-->
<div class="foamingParameters" id="foamingParameters"></div>
<!--设备运行状态-->
<div class="foamingLineRunStatus">
<table style="width: 100%;height:100%;">
<tr style="width: 100%;">
<td style="border:0px solid red;text-align:center;"><img src="../../img/foamBox/deviceopen.png" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:center;"><img src="../../img/foamBox/deviceopen.png" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:center;"><img src="../../img/foamBox/deviceopen.png" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:center;"><img src="../../img/foamBox/deviceopen.png" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:right;padding-right: 12px;"><img src="../../img/foamBox/deviceopen.png" width="40%" height="50%"/></td>
<td style="border:0px solid red;text-align:right;"><img src="../../img/foamBox/deviceopen.png" width="40%" height="50%"/></td>
</tr>
</table>
</div>
<!-- 轮播 -->
<div class="swiperModule">
<div class="swiper mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<div class="temperatureOne" id="temperatureOne"></div>
</div>
<div class="swiper-slide">
<div class="temperatureTwo" id="temperatureTwo"></div>
</div>
<div class="swiper-slide">
<div class="temperatureThree" id="temperatureThree"></div>
</div>
<div class="swiper-slide">
<div class="temperatureFour" id="temperatureFour"></div>
</div>
</div>
</div>
</body>
<script src="../../../js/foamBox/index.js"></script>
<script>
var swiper = new Swiper(".mySwiper", {
spaceBetween: 30,
// loop: true,
centeredSlides: true,
autoplay: {
delay: 15000,
disableOnInteraction: false,
},
});
</script>
</html>

@ -1,19 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>澳柯玛可视化看板</title>
</head>
<body>
<p> <a href="/adsorptionTank">吸附内胆</a></p>
<p> <a href="/aluminumTank">铝内胆生产数据监控</a></p>
<p><a href="/aluminumLiner">铝内胆成型线设备看板</a></p>
<p> <a href="/preassemble">吸附内胆预装</a></p>
<p> <a href="/tankShell">箱壳自动成型线生产看板</a></p>
<p> <a href="/tankShellDevice">箱壳自动成型线设备看板</a></p>
<p> <a href="/foamBox">发泡</a></p>
<p> <a href="/storage">门体库</a></p>
<p> <a href="/aluminumLiner">铝内胆成型线</a></p>
</body>
</html>

@ -1,27 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>吸附内胆预装数据监控平台</title>
<link rel="stylesheet" href="../../../css/preassemble/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>
</head>
<body>
<!--小时产量统计-->
<div class="hourlyOutputStatistics" id="hourlyOutputStatistics"></div>
<!--型号产量统计-->
<div class="statisticalOutputByModel" id="statisticalOutputByModel"></div>
<!--库存统计-->
<div class="inventoryStatistics" id="inventoryStatistics"></div>
</body>
<script src="../../../js/preassemble/index.js"></script>
</html>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save