From 18675524096643ce5cb3f53f134f2982dd0fd6d7 Mon Sep 17 00:00:00 2001
From: zhaowc <526854230@qq.com>
Date: 星期五, 31 十月 2025 16:42:15 +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