From 5eb299fcff5db1bcb49629b311809dd7ae086f27 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期一, 17 十一月 2025 08:14:58 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/thread/impl/NyShuttleThread.java | 4 ++++
1 files changed, 4 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 30b6c6c..bf7a896 100644
--- a/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
+++ b/src/main/java/com/zy/core/thread/impl/NyShuttleThread.java
@@ -675,6 +675,10 @@
.eq("status", 1));
if (shuttleMaxPowerVerifyConfig != null) {
if (shuttleMaxPowerVerifyConfig.getValue().equals("true")) {
+ if (this.shuttleProtocol.getBatteryPower() == null) {
+ return false;
+ }
+
if (this.shuttleProtocol.getBatteryVoltage() < 5630) {
return false;//鐢靛帇涓嶅缁х画鍏呯數
}
--
Gitblit v1.9.1