From 8bd2d11de3a3493078225c874fdc9a57c4eac12c Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期五, 07 十一月 2025 10:23:08 +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