From 452b9b63ada7ef220952412613552d36ed477adc Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期一, 19 五月 2025 17:30:29 +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 f4f41b6..962af92 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