From b079910e5de15863c26e479ffab15cc45d706f1a Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期一, 19 五月 2025 16:25:22 +0800
Subject: [PATCH] 测试修复轮询出库、抽检流程的问题

---
 Helpers/AgvHelper.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Helpers/AgvHelper.cs b/Helpers/AgvHelper.cs
index dda731c..28b1eab 100644
--- a/Helpers/AgvHelper.cs
+++ b/Helpers/AgvHelper.cs
@@ -29,7 +29,7 @@
         public static bool IsNextStateOk(int lastState, int nextState) {
             var lastPri = GetPri(lastState);
             var nextPri = GetPri(nextState);
-            return lastPri != 0 && nextPri != 0 && lastPri <= nextState;
+            return lastPri != 0 && nextPri != 0 && lastPri <= nextPri;
         }
 
         /// <summary>

--
Gitblit v1.9.1