From 31beeb3d23e658e5aa2bbb9f251b006095eef15a Mon Sep 17 00:00:00 2001
From: czw <selecti@yeah.net>
Date: 星期一, 07 七月 2025 11:05:04 +0800
Subject: [PATCH] 1

---
 2025年6月12日/AuxAllWCS/RunTime/Code/自定义类.cs |   39 +++++++++++++++++++++++++++------------
 1 files changed, 27 insertions(+), 12 deletions(-)

diff --git "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/RunTime/Code/\350\207\252\345\256\232\344\271\211\347\261\273.cs" "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/RunTime/Code/\350\207\252\345\256\232\344\271\211\347\261\273.cs"
index 7e7525b..d6e9c80 100644
--- "a/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/RunTime/Code/\350\207\252\345\256\232\344\271\211\347\261\273.cs"
+++ "b/2025\345\271\2646\346\234\21012\346\227\245/AuxAllWCS/RunTime/Code/\350\207\252\345\256\232\344\271\211\347\261\273.cs"
@@ -736,17 +736,17 @@
                 }
             }
         }
-        public static void ResMesTask()
-        {
-            ///1.
-            
-            AutoThread.InvokeMethod(AutoThread.Instance, "ResolveMesTask");
-            //var VERX = Settings.deviceInfos?.FindAll(x => x.deviceName.Contains("鎹风灛鎶撹噦"));
-            //if ()
-            ///2  鐪嬬紦瀛樺尯銆�娌℃弧鐨勩�
-
-
-        }
+		public static void ResMesTask(Tag tag)
+		{
+		    ///1.
+		
+		    AutoThread.InvokeMethod(AutoThread.Instance, "ResolveMesTask", new object[] { tag });
+		    //var VERX = Settings.deviceInfos?.FindAll(x => x.deviceName.Contains("鎹风灛鎶撹噦"));
+		    //if ()
+		    ///2  鐪嬬紦瀛樺尯銆�娌℃弧鐨勩�
+		
+		
+		}
         
         
 #endregion [鑷畾涔夌被][20250531152402452][ToWMSMES]
@@ -754,7 +754,22 @@
 public class ConsoleInterceptor:TextWriter
 {
 #region    [鑷畾涔夌被][20250702112833751][ConsoleInterceptor]
-	
+	private readonly TextWriter _originalOut;
+
+public ConsoleInterceptor()
+{
+    _originalOut = Console.Out;
+}
+
+public override Encoding Encoding => Encoding.UTF8;
+
+public override void WriteLine(string value = "")
+{
+    string values = (string)AutoThread.InvokeMethod(AutoThread.Instance, "WriteLine", new object[] { value });
+    //// 鍙互閫夋嫨缁х画杈撳嚭鍒板師鎺у埗鍙�+    if (!string.IsNullOrEmpty(values))
+        _originalOut.WriteLine(values);
+}
 #endregion [鑷畾涔夌被][20250702112833751][ConsoleInterceptor]
 }
 }
\ No newline at end of file

--
Gitblit v1.9.1