| | |
| | | using HH.WCS.QingXigongchang.process; |
| | | using HH.WCS.QingXigongchang.util; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Linq.Expressions; |
| | | using System.Security.Cryptography; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using static HH.WCS.QingXigongchang.dispatch.NDC; |
| | | |
| | | namespace HH.WCS.QingXigongchang.wms |
| | | { |
| | |
| | | } |
| | | } |
| | | } |
| | | return locs; |
| | | } |
| | | |
| | | public static List<Location> GetAreaNormalLocListAll(string areeacode) |
| | | { |
| | | var locs = LocationHelper.GetLocList(x => x.S_AREA_CODE == areeacode && x.S_LOCK_STATE.Trim() == "无" && x.N_CURRENT_NUM == 0); |
| | | |
| | | return locs; |
| | | } |
| | | internal static List<Location> GetAllLocListByAreaCode(string _areacode, int minRow, int maxRow) |
| | |
| | | #endregion |
| | | else if (plc.deviceType == 6 || plc.deviceType == 10 || plc.deviceType == 4) |
| | | { |
| | | LogHelper.Info("plc.deviceType == 6.10.4" + workOrder.SQL_UsingNow); |
| | | LogHelper.Info("plc.deviceType == 6.10.4 即产?:" + workOrder.SQL_UsingNow); |
| | | //var LineTo = workOrder.SQL_LinkLineNO; |
| | | var ba = Settings.GetBolAreaList().Find(x => x.DeviceName == plc.deviceName && x.deviceType == plc.deviceType); |
| | | if (ba == null) |
| | |
| | | } |
| | | else |
| | | { |
| | | LogHelper.Info($"4610,没有可用满框"); |
| | | LogHelper.Info($"翻斗级{plc.deviceName},没有可用满框"); |
| | | } |
| | | } |
| | | else |