From 79e04c3c2125ab860670f05b0f73ca9cc4168c0f Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期一, 23 六月 2025 17:16:31 +0800
Subject: [PATCH] 优化产品入库逻辑,修复货位绑定和货品明细重复的问题

---
 Program.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Program.cs b/Program.cs
index 577f06e..daf7415 100644
--- a/Program.cs
+++ b/Program.cs
@@ -3,16 +3,19 @@
 using System.Threading;
 using System.Threading.Tasks;
 
+using HH.WCS.Mobox3.AnGang.core;
 using HH.WCS.Mobox3.AnGang.device;
 
 using Microsoft.Owin.Hosting;
 
 using Topshelf;
 
+using Monitor = HH.WCS.Mobox3.AnGang.core.Monitor;
+
 namespace HH.WCS.Mobox3.AnGang {
     internal class Program
     {
-        [STAThread]
+        //[STAThread] // SNAP 娉ㄩ噴璇ヨ淇濈暀鍏朵粬琛屽悗锛岀▼搴忔甯歌繍琛�         static void Main(string[] args)
         {
             //鍩虹璁剧疆淇℃伅鍒濆鍖�@@ -123,9 +126,8 @@
             {
                 List<Task> tasks = new List<Task>();
                 // 娣诲姞浠诲姟鎺ㄩ�绾跨▼
-                //tasks.Add(GetTask(WCSCore.Dispatch));
-
-
+                tasks.Add(GetTask(WCSCore.Dispatch));
+                //tasks.Add(GetTask(Monitor.CheckCountOrder));
 
                 Task.WaitAll(tasks.ToArray());
             }

--
Gitblit v1.9.1