From 9d6bad52737367028d350a207b9bc8070c7ce7ca Mon Sep 17 00:00:00 2001
From: czw <selecti@yeah.net>
Date: 星期六, 05 七月 2025 14:32:09 +0800
Subject: [PATCH] 1

---
 2025年6月12日/AuxAllWCS/Build/Project/代码/VS自定义类/AutoThread.cs |   19 ++++++++++---------
 1 files changed, 10 insertions(+), 9 deletions(-)

diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/VS\350\207\252\345\256\232\344\271\211\347\261\273/AutoThread.cs" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/VS\350\207\252\345\256\232\344\271\211\347\261\273/AutoThread.cs"
index 6cf597f..ac5f315 100644
--- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/VS\350\207\252\345\256\232\344\271\211\347\261\273/AutoThread.cs"
+++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/Build/Project/\344\273\243\347\240\201/VS\350\207\252\345\256\232\344\271\211\347\261\273/AutoThread.cs"
@@ -77,8 +77,8 @@
             }
 
             // 鎵ц濮旀墭
-            if (methodName != "TaskEverythingRun")
-                return null;
+            //if (methodName != "TaskEverythingRun")
+            //    return null;
             return methodDelegate.DynamicInvoke(args);
         }
 
@@ -1585,6 +1585,10 @@
             foreach (var task in tasks)
             {
                 LogHelper.Info($"瑙i噴MES浠诲姟 ->{task.S_TASK_NO} ");
+                if (task.S_TYPE?.Trim() == "100")
+                {
+                    LogHelper.Info($"MES浠诲姟 S_TYPE 100->{task.S_TYPE} ");
+                }
                 var sx = VERXs?.Find(x => x.location.Contains(task.S_END_LOC));
                 LogHelper.Info($"瑙i噴MES浠诲姟 ->{task.S_TASK_NO} {(sx == null ? "闈� : "鏄�)}鎬昏鏈哄櫒浜轰换鍔�);
                 if (sx == null)
@@ -2027,24 +2031,23 @@
 
 
 
-
-
     }
+
 
     public class HttpServer
     {
         System.Net.HttpListener HttpSvcHost = null;
 
-        private readonly string _listenerPrefix = "";
+        public static string _listenerPrefix = "";
         public HttpServer(string ip)
         {
-            _listenerPrefix = ip;
+            _listenerPrefix = $"http://{ip}:8808/";
         }
         public void HttpServerRun()
         {
             HttpSvcHost = new System.Net.HttpListener();
             HttpSvcHost.AuthenticationSchemes = System.Net.AuthenticationSchemes.Anonymous;
-            HttpSvcHost.Prefixes.Add($"http://{_listenerPrefix}:8808/");
+            HttpSvcHost.Prefixes.Add(_listenerPrefix);
             HttpSvcHost.Start();
             HttpSvcHost.BeginGetContext(HttpSvcListenerCallback, null);
         }
@@ -2327,8 +2330,6 @@
         }
 
     }
-
-
 
     internal class WebSocketClient
     {

--
Gitblit v1.9.1