lss
2025-05-16 a8baebe7ac7d7e03ae833815e8d94b996dfd3b5e
HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/process/DeviceProcess.cs
@@ -4,6 +4,7 @@
using HH.WCS.JiaTong.util;
using HH.WCS.JiaTong.wms;
using Newtonsoft.Json;
using S7.Net;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -31,7 +32,7 @@
                    {
                        if (data == "")
                        {
                           // Traystacker(plc);
                            // Traystacker(plc);
                        }
                    }
                }
@@ -45,7 +46,7 @@
        /// <summary>
        /// 叠盘机空托返回
        /// </summary>    
        internal static void Traystacker(string loc,int qty)
        internal static void Traystacker(string loc, int qty)
        {
            try
            {
@@ -109,12 +110,14 @@
        }
        internal static void KjTraffic()
        {
            var db = new SqlHelper<object>().GetInstance();
            List<string> locs = new List<string>() { "PMDDW-001" };
            var location = db.Queryable<Location>().Where(a => locs.Contains(a.S_CODE)).ToList();
            if (location.Count > 0)
            {
               // string cntrcode = "";
                // string cntrcode = "";
                foreach (var item in location)
                {