From 3bb8c58c42badd5768cacfda3c9a5ccce9136e4e Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期二, 09 四月 2024 15:24:12 +0800 Subject: [PATCH] Merge branch 'Four-Way-Rack' of http://47.97.1.152:5880/r/zy-asrs-master into Four-Way-Rack --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java index bee13fe..fe13fcb 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/thread/impl/SurayShuttleThread.java @@ -441,6 +441,13 @@ @Override public boolean isChargingCompleted() { + if (this.shuttleProtocol.getBatteryPower() == null) { + return false; + } + + if (Integer.valueOf(this.shuttleProtocol.getBatteryPower()) >= 100) { + return true; + } return false; } -- Gitblit v1.9.1