From 3b4ab19a4b05e098e971746c692a0d012fde7445 Mon Sep 17 00:00:00 2001
From: liudl <673013083@qq.com>
Date: 星期五, 26 九月 2025 17:49:12 +0800
Subject: [PATCH] 修改问题

---
 Admin.NET/WCS.Application/PLC/PLCTaskAction.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Admin.NET/WCS.Application/PLC/PLCTaskAction.cs b/Admin.NET/WCS.Application/PLC/PLCTaskAction.cs
index 451a68d..2290299 100644
--- a/Admin.NET/WCS.Application/PLC/PLCTaskAction.cs
+++ b/Admin.NET/WCS.Application/PLC/PLCTaskAction.cs
@@ -72,7 +72,7 @@
         // var strMsg = new HttpService().RequestPackWcs("LN000001");
         cts.Cancel();
         listPlc = _db.Queryable<WcsPlc>()
-            .Where(s => s.Type == PLCTypeEnum.StackingMachine || s.Type == PLCTypeEnum.ConveyorLine || s.Type == PLCTypeEnum.BoxConveyorLine)
+            .Where(s => s.Type == PLCTypeEnum.StackingMachine || s.Type == PLCTypeEnum.ConveyorLine || s.Type == PLCTypeEnum.BoxConveyorLine || s.Type == PLCTypeEnum.StackingRobot)
             .Where(s => s.Enable == YesNoEnum.Y)
             .ToList();
         listPlcDevice = _db.Queryable<WcsDevice>().ToList();
@@ -183,7 +183,7 @@
                             }
                         }
 
-                        Thread.Sleep(1000);
+                        Thread.Sleep(2000);
                     }
                     catch (OperationCanceledException)
                     {
@@ -455,7 +455,7 @@
                             }
                         }
                     }
-                    Thread.Sleep(3000);
+                    Thread.Sleep(2000);
                 }
                 catch (Exception ex)
                 {

--
Gitblit v1.8.0