diff --git a/productionboard/src/main/resources/static/js/aluminumLiner/index.js b/productionboard/src/main/resources/static/js/aluminumLiner/index.js
index 7dac822..ea2e1f0 100644
--- a/productionboard/src/main/resources/static/js/aluminumLiner/index.js
+++ b/productionboard/src/main/resources/static/js/aluminumLiner/index.js
@@ -7,7 +7,7 @@ $(() => {
if (result.length > 0) {
if(result[0].deviceEnergy > 0){
statusArray[0] = result[0].deviceStatus == "正常" ? "1" : "0";
- statusArray[1] = result[0].devicePower;
+ statusArray[1] = result[0].devicePower+"W";
statusArray[2] = result[0].deviceEnergy;
statusArray[3] = result[0].count;
dataInformationFunction(statusArray);
diff --git a/productionboard/src/main/resources/static/js/tankShell/device.js b/productionboard/src/main/resources/static/js/tankShell/device.js
index a6daf47..cd70f8f 100644
--- a/productionboard/src/main/resources/static/js/tankShell/device.js
+++ b/productionboard/src/main/resources/static/js/tankShell/device.js
@@ -84,7 +84,7 @@ const dataInformationFunction = (statusArray) => {
let info = `
${res.deviceStatus == 1 ? `正常` : `异常`} |
- ${res.devicePower} kW |
+ ${res.devicePower} W |
diff --git a/productionboard/target/classes/application.yml b/productionboard/target/classes/application.yml
index bea2bcb..142f6dd 100644
--- a/productionboard/target/classes/application.yml
+++ b/productionboard/target/classes/application.yml
@@ -12,6 +12,6 @@ mybatis-plus:
mapper-locations: classpath*:/mapper/**Mapper.xml
server:
- port: 6069
+ port: 6070
-in_id: 1
\ No newline at end of file
+in_id: 2
\ No newline at end of file
diff --git a/productionboard/target/classes/com/productionboard/entity/TankShellDevice/TankShellEnergyConsumption.class b/productionboard/target/classes/com/productionboard/entity/TankShellDevice/TankShellEnergyConsumption.class
index 5ea448d..77b6725 100644
Binary files a/productionboard/target/classes/com/productionboard/entity/TankShellDevice/TankShellEnergyConsumption.class and b/productionboard/target/classes/com/productionboard/entity/TankShellDevice/TankShellEnergyConsumption.class differ
diff --git a/productionboard/target/classes/static/js/aluminumLiner/index.js b/productionboard/target/classes/static/js/aluminumLiner/index.js
index 7dac822..ea2e1f0 100644
--- a/productionboard/target/classes/static/js/aluminumLiner/index.js
+++ b/productionboard/target/classes/static/js/aluminumLiner/index.js
@@ -7,7 +7,7 @@ $(() => {
if (result.length > 0) {
if(result[0].deviceEnergy > 0){
statusArray[0] = result[0].deviceStatus == "正常" ? "1" : "0";
- statusArray[1] = result[0].devicePower;
+ statusArray[1] = result[0].devicePower+"W";
statusArray[2] = result[0].deviceEnergy;
statusArray[3] = result[0].count;
dataInformationFunction(statusArray);
diff --git a/productionboard/target/classes/static/js/common/echarts.common.js b/productionboard/target/classes/static/js/common/echarts.common.js
index b214ccc..91c8a58 100644
--- a/productionboard/target/classes/static/js/common/echarts.common.js
+++ b/productionboard/target/classes/static/js/common/echarts.common.js
@@ -2201,6 +2201,9 @@ const energyConsumption = (res, ids) => {
bottom: '3%',
containLabel: true
},
+ tooltip:{
+ trigger :'axis',
+ },
xAxis: [
{
interval: 0,
@@ -2211,6 +2214,7 @@ const energyConsumption = (res, ids) => {
}
}
],
+
yAxis: [
{
type: 'value',
@@ -2277,7 +2281,7 @@ const energyConsumption = (res, ids) => {
},
tooltip: {
valueFormatter: function (value) {
- return value + ' ml';
+ return value + ' t';
}
},
barWidth: 20,
@@ -2289,16 +2293,23 @@ const energyConsumption = (res, ids) => {
yAxisIndex: 1,
tooltip: {
valueFormatter: function (value) {
- return value + ' °C';
+ return value + ' kw·h';
}
},
lineStyle: {
- color: '#45b685'
+ color: '#0066FF'
},
+ /*label: {
+ show: true,
+ position: "buttom",
+ textStyle: {
+ color: "#0066FF",
+ },
+ },*/
data: yAxisDataTwo,
},
{
- name: "柱顶部",
+ name: "",
type: "pictorialBar",
symbolSize: [20, 6],
symbolOffset: [0, -3],
@@ -2310,6 +2321,9 @@ const energyConsumption = (res, ids) => {
},
},
},
+ tooltip: {
+ show:false,
+ },
label: {
show: true,
position: "top",
diff --git a/productionboard/target/classes/static/js/tankShell/device.js b/productionboard/target/classes/static/js/tankShell/device.js
index a6daf47..cd70f8f 100644
--- a/productionboard/target/classes/static/js/tankShell/device.js
+++ b/productionboard/target/classes/static/js/tankShell/device.js
@@ -84,7 +84,7 @@ const dataInformationFunction = (statusArray) => {
let info = `
${res.deviceStatus == 1 ? `正常` : `异常`} |
- ${res.devicePower} kW |
+ ${res.devicePower} W |
diff --git a/productionboard/target/productionboard-0.0.1-SNAPSHOT.jar b/productionboard/target/productionboard-0.0.1-SNAPSHOT.jar
index 2b30a0e..56236fc 100644
Binary files a/productionboard/target/productionboard-0.0.1-SNAPSHOT.jar and b/productionboard/target/productionboard-0.0.1-SNAPSHOT.jar differ
diff --git a/productionboard/target/productionboard-0.0.1-SNAPSHOT.jar.original b/productionboard/target/productionboard-0.0.1-SNAPSHOT.jar.original
index edc6c7e..70bb51a 100644
Binary files a/productionboard/target/productionboard-0.0.1-SNAPSHOT.jar.original and b/productionboard/target/productionboard-0.0.1-SNAPSHOT.jar.original differ