|  |  | 
 |  |  |                             Details = new List<Dt_StockInfoDetail>() | 
 |  |  |                         }; | 
 |  |  |                         var ContainerDetailsInfos = TesugarClient.Queryable("ContainerDetailsInfo", "x").Where("CId", "=", id).ToList(); | 
 |  |  |                         if (ContainerDetailsInfos.Count < 1) stockInfo.PalletType = PalletTypeEnum.Empty.ObjToInt(); | 
 |  |  |                         foreach (var ContainerDetailsInfo in ContainerDetailsInfos) | 
 |  |  |                         { | 
 |  |  |                             dynamic ruleConfig1 = ContainerDetailsInfo; | 
 |  |  | 
 |  |  |                         } | 
 |  |  |                         stockInfos.Add(stockInfo); | 
 |  |  |                     } | 
 |  |  |                     var LocationCodes = stockInfos/*.Where(x => x.LocationCode != "å¹³åºä½")*/.Select(stockInfo => stockInfo.LocationCode).ToList(); | 
 |  |  |                     var LocationCodes = stockInfos.Where(x => x.LocationCode != "å¹³åºä½").Select(stockInfo => stockInfo.LocationCode).ToList(); | 
 |  |  |                     List<Dt_LocationInfo> locationInfos = Repository.QueryData(x => LocationCodes.Contains(x.LocationCode)); | 
 |  |  |                     locationInfos.ForEach(x => | 
 |  |  |                     { | 
 |  |  | 
 |  |  |                 _ => throw new Exception($"æªå®ä¹çæ,å°å:ã{locationCode}ã"), | 
 |  |  |             }; | 
 |  |  |             var Column = locationCode.Substring(4, 2); | 
 |  |  |             if (locationCode.Length == 7) | 
 |  |  |                 Column = locationCode.Substring(5, 2); | 
 |  |  |             var Layer = locationCode.Substring(2, 2); | 
 |  |  |             locationCode = "AGV_FL-" + Row + "-0" + Column + "-0" + Layer + "-01"; | 
 |  |  |             return locationCode; |