From 3d1ed275f9d9915a69b790e05610aba6ee6287e6 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 09 五月 2025 14:23:34 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/core/thread/impl/NyShuttleThread.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java b/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
index 32037a8..126281a 100644
--- a/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
+++ b/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
@@ -721,6 +721,19 @@
             }
         }
 
+        //***************鍒ゆ柇鏄惁婊″厖鏍″噯***************
+        Config shuttleMaxPowerVerifyConfig = configService.selectOne(new EntityWrapper<Config>()
+                .eq("code", "shuttleMaxPowerVerify")
+                .eq("status", 1));
+        if (shuttleMaxPowerVerifyConfig != null) {
+            if (shuttleMaxPowerVerifyConfig.getValue().equals("true")) {
+                if (this.shuttleProtocol.getBatteryVoltage() < 5630) {
+                    return false;//鐢靛帇涓嶅缁х画鍏呯數
+                }
+            }
+        }
+        //***************鍒ゆ柇鏄惁婊″厖鏍″噯***************
+
         if (this.shuttleProtocol.getHasCharge() == null) {
             return false;
         }

--
Gitblit v1.9.1