From a8baebe7ac7d7e03ae833815e8d94b996dfd3b5e Mon Sep 17 00:00:00 2001 From: lss <Lss@HanInfo> Date: 星期五, 16 五月 2025 17:23:15 +0800 Subject: [PATCH] 叠盘机流程开发与问题优化 --- HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/process/DeviceProcess.cs | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/process/DeviceProcess.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/process/DeviceProcess.cs index 83ce6c7..a153929 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.JiaTong/process/DeviceProcess.cs +++ b/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) { -- Gitblit v1.9.1