From 3b243dbf4c477fc6ca39263f3969c7118fe27a68 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期四, 20 六月 2024 20:17:14 +0800 Subject: [PATCH] 优化检测上料逻辑 --- 代码管理/PCS/WCS_Server/WIDESEA_WCS/Common/Pipeline.cs | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/Common/Pipeline.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/Common/Pipeline.cs" index 8d50692..6184d54 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/Common/Pipeline.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/PCS/WCS_Server/WIDESEA_WCS/Common/Pipeline.cs" @@ -17,6 +17,7 @@ using WIDESEA_WCS.JobsPart.Common; using System.Xml.Linq; using WIDESEA_Common; +using System.Net; namespace WIDESEA_WCS { @@ -219,6 +220,11 @@ //} #endregion } + else + { + var count = Gantry_client.ReadByOrder<Int16>("W_IndexNr", number); + if (Station.quantity != count) Gantry_client.WriteByOrder("W_RequestUnload", false, number); + } } else { -- Gitblit v1.9.3