| using System; | 
| using System.Collections.Generic; | 
| using System.Linq; | 
| using System.Text; | 
| using System.Threading.Tasks; | 
| using WIDESEA_Common.LocationEnum; | 
| using WIDESEA_Core; | 
| using WIDESEA_Core.BaseServices; | 
| using WIDESEA_DTO.MES; | 
| using WIDESEA_IOutboundRepository; | 
| using WIDESEA_Model.Models; | 
|   | 
| namespace WIDESEA_IOutboundService | 
| { | 
|     public interface IMesRworkOutboundOrderService : IService<Dt_MesRworkOutboundOrder> | 
|     { | 
|         IMesRworkOutboundOrderRepository Repository { get; } | 
|         /// <summary> | 
|         /// 提库任务分配库存 | 
|         /// </summary> | 
|         /// <param name="mesOutboundOrder"></param> | 
|         /// <returns></returns> | 
|         (List<Dt_ProStockInfo>?, Dt_MesRworkOutboundOrder?, List<Dt_OutProStockInfo>?, List<Dt_LocationInfo>) AssignMesStocks(Dt_MesRworkOutboundOrder mesRworkOutboundOrders); | 
|         /// <summary> | 
|         /// 处理出库数据 | 
|         /// </summary> | 
|         WebResponseContent LockOutboundStockDataUpdate(List<Dt_ProStockInfo> stockInfos, List<Dt_OutProStockInfo> outStockLockInfos, List<Dt_LocationInfo> locationInfos, LocationStatusEnum locationStatus = LocationStatusEnum.Lock, List<Dt_Task>? tasks = null); | 
|   | 
|         //库存板出库 | 
|         WebResponseContent ProductOutBoundSync(MesProductOutBound model); | 
|   | 
|         MesProductOutBound MesProOutBound(Dt_MesRworkOutboundOrder mesRworkOutboundOrder, List<Dt_ProStockInfoDetail> proStockInfoDetails); | 
|         /// <summary> | 
|         /// 成品MES提库出库完后一包一包拣选 | 
|         /// </summary> | 
|         /// <returns></returns> | 
|         WebResponseContent MesRworkOutPick(int OrderId, string InrPKCode, int Count = 0); | 
|     } | 
| } |