1
czw
2025-07-01 9b5404709cb492a3db6cb967809229155438f885
HH.WCS.QingXiNongfu/Program.cs
@@ -1,4 +1,5 @@
using HH.WCS.QingXigongchang.api;
using HH.WCS.QingXigongchang.core;
using HH.WCS.QingXigongchang.device;
using HH.WCS.QingXigongchang.process;
using HH.WCS.QingXigongchang.util;
@@ -18,6 +19,7 @@
using System.Threading;
using System.Threading.Tasks;
using Topshelf;
using static System.Net.Mime.MediaTypeNames;
using Monitor = HH.WCS.QingXigongchang.core.Monitor;
namespace HH.WCS.QingXigongchang
@@ -77,7 +79,18 @@
                #endregion
                var uuu16 = "TN" + (DateTime.Now.ToString("yy")) + ((6180010 + "").PadLeft(8, '0'));
                Console.WriteLine(uuu16);
                switch ("")
                {
                    case var _ when true:
                        {
                        }
                        break;
                    default: break;
                }
            }
            else
            {
@@ -734,34 +747,34 @@
                {
                    GetTask(Monitor.A),//计数器  清除 控制台
                    //添加任务推送线程
                    //GetTask(TaskCore.Dispatch),
                    //GetTask(TaskCore.Kuronggg),
                    GetTask(TaskCore.Dispatch),
                    GetTask(TaskCore.Kuronggg),
                    //GetTask(TaskCore.ChargeHostAgv),
                    ////手动转运
                    //GetTask(Monitor.BottleCapAuto2),
                    ///// 自动转运
                    //GetTask(Monitor.BottleCapAuto3, 1),
                    ////锁排 - 清除  排空了才解锁。
                    //GetTask(Monitor.BottleCapAuto4),
                    ////自动领料 - 上输送线
                    //GetTask(Monitor.BottleCapAuto5),
                    ////空框中转,转拆框
                    //GetTask(Monitor.BottleCapAuto6),
                    ////出库单批分
                    //GetTask(Monitor.BottleCapAuto7),
                    ////自动中转
                    //GetTask(Monitor.BB7),
                    GetTask(TaskCore.ChargeHostAgv),
                    //手动转运
                    GetTask(Monitor.BottleCapAuto2),
                    /// 自动转运
                    GetTask(Monitor.BottleCapAuto3, 1),
                    //锁排 - 清除  排空了才解锁。
                    GetTask(Monitor.BottleCapAuto4),
                    //自动领料 - 上输送线
                    GetTask(Monitor.BottleCapAuto5),
                    //空框中转,转拆框
                    GetTask(Monitor.BottleCapAuto6),
                    //出库单批分
                    GetTask(Monitor.BottleCapAuto7),
                    //自动中转
                    GetTask(Monitor.BB7),
                    //原材料 自动中转 - 展示流程。 前期测试用的
                    //GetTask(Monitor.AutoRun),
                    GetTask(Monitor.YwlTKPEBQ_Auto),//标签无菌水线出入库。
                    //原材料的 新中转流程。 
                    //GetTask(Monitor.YWL_ZX_Turn),
                    //GetTask(Monitor.BottTask),// 纸箱自动中转
                    //GetTask(Monitor.AutoRunABD),
                    //GetTask(Monitor.AutoRun13TSJ),
                    //GetTask(Monitor.ZdzyABArea),
                    //  GetTask(Monitor.Qchc),
                    GetTask(Monitor.YWL_ZX_Turn),
                    GetTask(Monitor.BottTask),// 纸箱自动中转
                    GetTask(Monitor.AutoRunABD),
                    GetTask(Monitor.AutoRun13TSJ),
                    GetTask(Monitor.ZdzyABArea),
                      GetTask(Monitor.Qchc),
                    
                    //GetTask(Monitor.AutoTK_PE),//提扣 - PE膜出入库