#region << 版 本 注 释 >> /*---------------------------------------------------------------- * 命名空间:WIDESEA_ITaskInfoService * 创建者:胡童庆 * 创建时间:2024/8/2 16:13:36 * 版本:V1.0.0 * 描述: * * ---------------------------------------------------------------- * 修改人: * 修改时间: * 版本:V1.0.1 * 修改说明: * *----------------------------------------------------------------*/ #endregion << 版 本 注 释 >> using Microsoft.AspNetCore.Mvc; 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 = "", string agvtaskNum = ""); /// /// /// /// /// /// WebResponseContent PushTasksToWCSSingle(int taskNum, string agvDescription = "", string agvtaskNum = ""); /// /// 申请入库任务(PDA使用,仅托盘绑定入库站台,不分配货位) /// /// 托盘号 /// 站台号 /// //WebResponseContent RequestInboundTask(string palletCode, string stationCode); WebResponseContent RequestInboundTask(SaveModel saveModel); /// /// 查询质检数量 /// WebResponseContent InQualityConfirm(string palletCode); /// /// 空箱入库 /// /// /// /// 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,string materielBoxCode = ""); /// /// 仅申请任务,让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 RequestZHInboundTask(string agvTaskCode, string palletCode, string palletType, string materialLot); /// /// /// /// /// Task TaskCompleted(int taskNum); /// /// /// /// /// WebResponseContent InboundTaskCompleted(int taskNum); /// /// 测试架出仓 /// /// /// MesResponseContent TestToolOut(TestToolOutModel model); //防焊到线边 MesResponseContent SolderMaskOut(SolderMaskOut model); //防焊派工 MesResponseContent SolderMaskOutNotice(SolderMaskOutNotice 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); WebResponseContent TakeOutbound(List stockViews); /// /// 物料出库,WMS同步出库物料批次至MES /// /// /// WebResponseContent UploadMesMaterialLotaAcept(MesMaterialLotaAceptModel model); /// /// 基板出库 /// /// /// MesResponseContent SubstrateOut(SubstrateOutModel model); /// /// 基板余料退库 /// /// /// MesResponseContent SubstrateBack(SubstrateBackModel model); /// /// PP大卷出库-进行分卷 /// /// /// MesResponseContent PPSubsectionOut(PPSubsectionOutModel model); /// /// PP小卷出库 /// /// /// MesResponseContent PPCutOut(PPCutOutModle model); /// /// PP入库(大卷、小卷、张料) /// /// /// MesResponseContent PPBack(PPBackModel model); /// /// PP库存查询 /// /// /// MesResponseContent QueryPpByWidth(QueryPpByWidthModel model); /// /// 成品返工提库 /// /// /// MesResponseContent RworkTask(RworkTaskModel 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, int heightType); /// /// /// /// /// WebResponseContent SingleAssignRoadway(List roadwayNos); /// /// /// /// /// WebResponseContent HandSubstrateOut(int orderId); /// /// 修改任务状态 /// /// /// WebResponseContent UpdateTaskInfo(WCSTaskDTO task); /// /// PP仓agv搬运任务 /// /// /// WebResponseContent AGVTasks(SaveModel saveModel); WebResponseContent GeneratePKOutboundTask(int orderDetailId, List stockSelectViews); /// /// MES成品内包信息接收 /// /// MesResponseContent BagInfoSync(MesBagInfoModel bagInfoModel); /// /// MES成品外包信息接收 /// /// /// MesResponseContent BoxStockin(MesBoxInfoModel boxInfoModel); /// /// MES成品出库接口调用 /// /// WebResponseContent ShipmentOrderSync(MesShipmentOrderSync model); /// /// 生成MESPP大卷出库任务 /// /// /// WebResponseContent MESPPGenerateOutboundTasks(int[] keys); /// /// 生成MESPP小卷出库任务 /// /// /// //WebResponseContent PPCutOutGenerateOutboundTasks(int[] keys); WebResponseContent PPCutOutGenerateOutboundTasks(int orderDetailId, List stockSelectViews); WebResponseContent PPGeneratePKOutboundTask(int orderDetailId, List stockSelectViews); /// /// 生成成品出库任务 /// /// 出库订单号 /// 站台地址 /// Task OutProductTask(int[] keys, string StationCode, int Grade); /// /// 成品余料退库入仓 /// /// /// /// WebResponseContent BackProductTask(string barCode, string startPoint); /// /// 成品空框回库 /// /// /// /// WebResponseContent EmptyBackTask(string barCode, string startPoint); /// /// 人工选择库存 /// WebResponseContent OutProductSelect(int orderDetailId, List proStockViews); WebResponseContent GetZHMesMaterialLot(string materialLot); } }