change - 箱壳成型数据监控平台、铝内胆数据监控平台设备OEE改为百分比

master
wenjy 2 years ago
parent 0a73c45377
commit 131d62a17b

@ -73,7 +73,7 @@ public class AluminumDeviceInfoServiceImpl implements IAluminumDeviceInfoService
if(aluminumDeviceDataInformation != null){ if(aluminumDeviceDataInformation != null){
result[4] = aluminumDeviceDataInformation.getRunTime(); result[4] = aluminumDeviceDataInformation.getRunTime();
result[5] = aluminumDeviceDataInformation.getStopTime(); result[5] = aluminumDeviceDataInformation.getStopTime();
result[6] = aluminumDeviceDataInformation.getDeviceOee(); result[6] = aluminumDeviceDataInformation.getDeviceOee() + "%";
result[7] = aluminumDeviceDataInformation.getCount()+""; result[7] = aluminumDeviceDataInformation.getCount()+"";
result[8] = aluminumDeviceDataInformation.getLossTime(); result[8] = aluminumDeviceDataInformation.getLossTime();
result[9] = aluminumDeviceDataInformation.getDeviceTakt(); result[9] = aluminumDeviceDataInformation.getDeviceTakt();

@ -127,7 +127,7 @@ public class TankShellDeviceInfoServiceImpl implements ITankShellDeviceInfoServi
if(tankShellDeviceDataInformation != null){ if(tankShellDeviceDataInformation != null){
result[4] = tankShellDeviceDataInformation.getRunTime(); result[4] = tankShellDeviceDataInformation.getRunTime();
result[5] = tankShellDeviceDataInformation.getStopTime(); result[5] = tankShellDeviceDataInformation.getStopTime();
result[6] = tankShellDeviceDataInformation.getDeviceOee(); result[6] = tankShellDeviceDataInformation.getDeviceOee() + "%";
result[7] = tankShellDeviceDataInformation.getCount()+""; result[7] = tankShellDeviceDataInformation.getCount()+"";
result[8] = tankShellDeviceDataInformation.getLossTime(); result[8] = tankShellDeviceDataInformation.getLossTime();
result[9] = tankShellDeviceDataInformation.getDeviceTakt(); result[9] = tankShellDeviceDataInformation.getDeviceTakt();

@ -1564,6 +1564,11 @@ const OEEStatistics = (res, ids) => {
textStyle: { textStyle: {
color: "rgb(47,224,8)", color: "rgb(47,224,8)",
}, },
formatter:(params) => {
return (params.value)+"%";
}
}, },
itemStyle: { itemStyle: {
normal: { normal: {
@ -2218,7 +2223,7 @@ const energyConsumption = (res, ids) => {
yAxis: [ yAxis: [
{ {
type: 'value', type: 'value',
name: '产量(t)', name: '产量',
min: 0, min: 0,
// max: 40, // max: 40,
// interval: 10, // interval: 10,
@ -2281,7 +2286,7 @@ const energyConsumption = (res, ids) => {
}, },
tooltip: { tooltip: {
valueFormatter: function (value) { valueFormatter: function (value) {
return value + ' t'; return value;
} }
}, },
barWidth: 20, barWidth: 20,

@ -1564,6 +1564,11 @@ const OEEStatistics = (res, ids) => {
textStyle: { textStyle: {
color: "rgb(47,224,8)", color: "rgb(47,224,8)",
}, },
formatter:(params) => {
return (params.value)+"%";
}
}, },
itemStyle: { itemStyle: {
normal: { normal: {
@ -2218,7 +2223,7 @@ const energyConsumption = (res, ids) => {
yAxis: [ yAxis: [
{ {
type: 'value', type: 'value',
name: '产量(t)', name: '产量',
min: 0, min: 0,
// max: 40, // max: 40,
// interval: 10, // interval: 10,
@ -2281,7 +2286,7 @@ const energyConsumption = (res, ids) => {
}, },
tooltip: { tooltip: {
valueFormatter: function (value) { valueFormatter: function (value) {
return value + ' t'; return value;
} }
}, },
barWidth: 20, barWidth: 20,

Loading…
Cancel
Save