From 5a56db983850c7e2e3c194aa9a221295271c0cc3 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 17 十一月 2025 16:24:42 +0800
Subject: [PATCH] #
---
src/main/webapp/static/css/watch/console_vue.css | 14 +++++++++++---
src/main/java/com/zy/asrs/domain/enums/StationStatusType.java | 5 +++++
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/main/java/com/zy/asrs/domain/enums/StationStatusType.java b/src/main/java/com/zy/asrs/domain/enums/StationStatusType.java
index ddb981d..a647119 100644
--- a/src/main/java/com/zy/asrs/domain/enums/StationStatusType.java
+++ b/src/main/java/com/zy/asrs/domain/enums/StationStatusType.java
@@ -18,6 +18,8 @@
SITE_AUTO_RUN,
// 鑷姩+ID
SITE_AUTO_ID,
+ // 鏁呴殰
+ SITE_ERROR,
;
public static StationStatusType process(StationProtocol stationProtocol){
@@ -39,6 +41,9 @@
if (!stationProtocol.isAutoing()) {
return SITE_UNAUTO;
}
+ if (stationProtocol.getError() > 0) {
+ return SITE_ERROR;
+ }
return null;
}
diff --git a/src/main/webapp/static/css/watch/console_vue.css b/src/main/webapp/static/css/watch/console_vue.css
index 4c17594..8e6fd32 100644
--- a/src/main/webapp/static/css/watch/console_vue.css
+++ b/src/main/webapp/static/css/watch/console_vue.css
@@ -44,7 +44,10 @@
justify-content: center;
align-items: center;
user-select: none;
- background: #f5d88f;;
+ background-color: #f5d88f;
+ background-image:
+ linear-gradient(to bottom, transparent 0, transparent 11px, #666 11px, #666 13px, transparent 13px, transparent 22px, #666 22px, #666 24px, transparent 24px, transparent 100%),
+ repeating-linear-gradient(to right, transparent 0, transparent 14px, rgba(80,80,80,0.35) 14px, rgba(80,80,80,0.35) 15px);
padding: 0;
margin: 0;
position: relative;
@@ -199,7 +202,7 @@
/* 鑷姩+鏈夌墿+ID */
.site-auto-run-id {
- background-color: rgb(252, 48, 48);
+ background-color: rgb(48, 191, 252);
}
/* 鑷姩+鏈夌墿 */
@@ -220,6 +223,11 @@
/* 闈炶嚜鍔�/鎵嬪姩 */
.site-unauto {
background-color: rgb(184, 184, 184);
+}
+
+/* 鏁呴殰 */
+.site-error {
+ background-color: rgb(255, 50, 50);
}
/*绌洪棽*/
@@ -328,7 +336,7 @@
#siteWindow-head .detailed {
display: inline-block;
background: none;
- color: #00000;
+ color: #000;
margin-left: 20px;
}
--
Gitblit v1.9.1