From e0542740f98686e0ce13c216c967874d605c5afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=B7=E6=88=90=E4=BC=9F?= Date: Thu, 5 Dec 2024 14:31:45 +0800 Subject: [PATCH 01/15] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E5=BF=83=E8=B7=B3?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A3=8E=E6=9C=BA=E9=80=9A=E8=AE=AF=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/das/modules/node/command/HeartbeatCommand.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/das/src/main/java/com/das/modules/node/command/HeartbeatCommand.java b/das/src/main/java/com/das/modules/node/command/HeartbeatCommand.java index 5c13d899..e29915c9 100644 --- a/das/src/main/java/com/das/modules/node/command/HeartbeatCommand.java +++ b/das/src/main/java/com/das/modules/node/command/HeartbeatCommand.java @@ -56,13 +56,13 @@ public class HeartbeatCommand implements BaseCommand{ } //判断是不是风机 String keyPLCDeviceStatus = String.format("RT:%d:iturbineoperationmode", deviceId); - String keyDeviceStatus = String.format("RT:%d:commfaultstate"); + String keyCommFaultState = String.format("RT:%d:commfaultstate"); Integer plcDeviceStatus = adminRedisTemplate.get(keyPLCDeviceStatus); if (plcDeviceStatus == null){ - adminRedisTemplate.set(keyDeviceStatus, online ? 1 : 0); + adminRedisTemplate.set(keyCommFaultState, online ? 0 : 1); } else{ - adminRedisTemplate.set(keyDeviceStatus, online && plcDeviceStatus == 1 ? 1 : 0); + adminRedisTemplate.set(keyCommFaultState, online && plcDeviceStatus != 0 ? 0 : 1); } } } From 70b34b409d879d1f00ff5e38fe7a091de37e0cdb Mon Sep 17 00:00:00 2001 From: fengrong Date: Thu, 5 Dec 2024 14:33:13 +0800 Subject: [PATCH 02/15] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/dasadmin/src/views/backend/dashboard.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/dasadmin/src/views/backend/dashboard.vue b/ui/dasadmin/src/views/backend/dashboard.vue index b73c4296..b54cfca2 100644 --- a/ui/dasadmin/src/views/backend/dashboard.vue +++ b/ui/dasadmin/src/views/backend/dashboard.vue @@ -422,10 +422,6 @@ const createScroll = () => { if (scrollRef.value.clientWidth + scrollRef.value.scrollLeft == scrollRef.value.scrollWidth) { scrollRef.value.scrollLeft = 0 } - //scrollRef.value.scrollTop += 1 - /* if (scrollRef.value.clientHeight + scrollRef.value.scrollTop == scrollRef.value.scrollHeight) { - scrollRef.value.scrollTop = 0 - }*/ }, 30); } @@ -520,7 +516,7 @@ $labelHeight: 30px; } .content-number { color: #333333; - font-size: 28px; + font-size: 24px; } .homelabel { font-family: PingFangSC-Semibold; From 037183003f00c8d61b867b60cfd3d6c48089d68e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E4=BA=91=E9=B9=8F?= Date: Thu, 5 Dec 2024 14:45:26 +0800 Subject: [PATCH 03/15] =?UTF-8?q?=E6=95=85=E9=9A=9C=E5=BD=95=E6=B3=A2?= =?UTF-8?q?=EF=BC=9A=E5=8E=BB=E9=99=A4log=20=E8=AE=BE=E5=A4=87:=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E8=A7=84=E5=88=99=E5=9E=8B=E5=8F=B7=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E5=9C=A8=E6=9C=BA=E7=BB=84=E4=B8=8B=E4=B8=BA=E9=80=89=E6=8B=A9?= =?UTF-8?q?=EF=BC=8C=E5=85=B6=E4=BB=96=E4=B8=BA=E8=BE=93=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../equipment/equipmentManagement/index.vue | 41 ++++++++++++++----- .../src/views/backend/malfunction/index.vue | 2 - 2 files changed, 31 insertions(+), 12 deletions(-) diff --git a/ui/dasadmin/src/views/backend/equipment/equipmentManagement/index.vue b/ui/dasadmin/src/views/backend/equipment/equipmentManagement/index.vue index 6507eda8..e331b391 100644 --- a/ui/dasadmin/src/views/backend/equipment/equipmentManagement/index.vue +++ b/ui/dasadmin/src/views/backend/equipment/equipmentManagement/index.vue @@ -118,15 +118,21 @@ - + - - + + @@ -287,14 +293,26 @@ - + - + + @@ -471,7 +489,7 @@