| | |
| | | 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; |
| | |
| | | { |
| | | if (data == "") |
| | | { |
| | | // Traystacker(plc); |
| | | // Traystacker(plc); |
| | | } |
| | | } |
| | | } |
| | |
| | | /// <summary> |
| | | /// 叠盘机空托返回 |
| | | /// </summary> |
| | | internal static void Traystacker(string loc,int qty) |
| | | internal static void Traystacker(string loc, int qty) |
| | | { |
| | | try |
| | | { |
| | |
| | | } |
| | | 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) |
| | | { |
| | | |