#region << 版 本 注 释 >> /*---------------------------------------------------------------- * 命名空间:WIDESEA_ITaskInfoService * 创建者:胡童庆 * 创建时间:2024/8/2 16:13:36 * 版本:V1.0.0 * 描述: * * ---------------------------------------------------------------- * 修改人: * 修改时间: * 版本:V1.0.1 * 修改说明: * *----------------------------------------------------------------*/ #endregion << 版 本 注 释 >> using SqlSugar; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Common.CommonEnum; using WIDESEA_Core; using WIDESEA_Core.BaseServices; using WIDESEA_Core.Enums; using WIDESEA_DTO; using WIDESEA_DTO.ERP; using WIDESEA_DTO.MES; using WIDESEA_DTO.Stock; using WIDESEA_DTO.Task; using WIDESEA_ITaskInfoRepository; using WIDESEA_Model.Models; namespace WIDESEA_ITaskInfoService { public interface ITaskService : IService { ITaskRepository Repository { get; } /// /// /// /// /// /// WebResponseContent PushTasksToWCS(List tasks, string agvDescription = ""); /// /// /// /// /// /// WebResponseContent PushTasksToWCSSingle(int taskNum, string agvDescription = ""); /// /// 申请入库任务(PDA使用,仅托盘绑定入库站台,不分配货位) /// /// 托盘号 /// 站台号 /// //WebResponseContent RequestInboundTask(string palletCode, string stationCode); WebResponseContent RequestInboundTask(SaveModel saveModel); /// /// 空箱入库 /// /// /// /// WebResponseContent InEmpty(string barcode, string address, int WarehouseId); /// /// 空箱出库 /// /// 数量 /// 地址 /// WebResponseContent OutEmpty(int qty, string address, int WarehouseId, string barcode); /// /// WCS申请入库 /// /// /// /// /// WebResponseContent DeviceRequestInboundTask(string stationCode, string roadwayNo, string palletCode); /// /// 仅申请任务,让WCS根据路由确定下一地址 /// /// /// /// WebResponseContent DeviceRequestInboundTaskSimple(string stationCode, string palletCode); /// /// /// /// /// /// /// /// WebResponseContent DeviceRequestInboundTaskByRoadways(string stationCode, string palletCode, List roadwayNos, int heightType); /// /// 入库任务申请分配货位 /// /// 任务号 /// 巷道号 /// 托盘类型 /// WebResponseContent AssignInboundTaskLocation(int taskNum, string roadwayNo); /// /// /// /// /// /// /// WebResponseContent AssignInboundTaskLocationByHeight(int taskNum, string roadwayNo, int heightType); /// /// /// /// /// WebResponseContent TaskCompleted(int taskNum); /// /// /// /// /// WebResponseContent InboundTaskCompleted(int taskNum); /// /// 测试架出仓 /// /// /// MesResponseContent TestToolOut(TestToolOutModel model); /// /// 生成出库任务 /// /// /// /// WebResponseContent GenerateOutboundTask(int orderDetailId, List stockSelectViews); /// /// 生成出库任务 /// /// /// WebResponseContent GenerateOutboundTasks(int[] keys); /// /// 出库任务完成 /// /// 任务号 /// WebResponseContent OutboundTaskCompleted(int taskNum); /// /// 判断是否需要移库 /// /// 任务号 /// 入库或出库的货位号 /// MesResponseContent TestToolBack(TestToolBackModel backModel); /// /// 测试架报废 /// /// /// MesResponseContent TestScrap(TestToolScrap toolScraps); /// /// /// /// /// /// WebResponseContent IsRelocation(int taskNum, string locationCode); /// /// /// /// /// WebResponseContent TestSynStock(TestToolSynInfo toolSynInfo); /// /// 选择库存生成出库任务 /// /// /// WebResponseContent Outbound(int id); /// /// 物料出库,WMS同步出库物料批次至MES /// /// /// WebResponseContent UploadMesMaterialLotaAcept(MesMaterialLotaAceptModel model); /// /// 基板出库 /// /// /// MesResponseContent SubstrateOut(SubstrateOutModel model); /// /// 基板余料退库 /// /// /// MesResponseContent SubstrateBack(SubstrateBackModel model); /// /// /// /// /// /// /// WebResponseContent AssignRoadwayByHeight(List roadwayNos, int taskNum, int heightType = 0); /// /// /// /// /// /// /// WebResponseContent AssignRoadwayByHeightAndCode(List roadwayNos, string palletCode, int heightType = 0); /// /// 分配巷道 /// /// /// /// WebResponseContent AssignRoadway(int taskNum, List roadwayNos); /// /// /// /// /// WebResponseContent SingleAssignRoadway(List roadwayNos); /// /// /// /// /// WebResponseContent HandSubstrateOut(int orderId); /// /// 修改任务状态 /// /// /// WebResponseContent UpdateTaskInfo(WCSTaskDTO task); WebResponseContent GeneratePKOutboundTask(int orderDetailId, List stockSelectViews); } }