| | |
| | | } |
| | | //æ¥è¯¢ç©ºè´§ä½ä¿¡æ¯å¹¶æé¤5åéå
åé
çè´§ä½,æ ¹æ®å±ãåãæ·±åº¦ãè¡æåº |
| | | List<Dt_LocationInfo> locationInfosMedium = BaseDal.QueryData(x => x.LocationType == LocationTypeEnum.MediumPallet.ObjToInt() && x.RoadwayNo == roadwayNo && x.LocationStatus == LocationStatusEnum.Free.ObjToInt() && x.EnableStatus != EnableStatusEnum.Disable.ObjToInt() && !lockLocations.Contains(x.LocationCode), orderBy); |
| | | Dt_LocationInfo locationInfo = new Dt_LocationInfo(); |
| | | Dt_LocationInfo? locationInfo = null; |
| | | foreach (var item in locationInfosMedium) |
| | | { |
| | | if (LayerLimit && (item.Layer == 7 || item.Layer == 8)) |
| | |
| | | locationInfo = item; |
| | | break; |
| | | } |
| | | if (!LayerLimit && item.Columns<=6 && item.Layer != 7 && item.Layer != 8) |
| | | { |
| | | locationInfo = item; |
| | | break; |
| | | } |
| | | //è·åæ´æ¹åºä½ |
| | | Dt_LocationInfo? nearLocation1; |
| | | Dt_LocationInfo? nearLocation2; |