#region << 版 本 注 释 >>
|
/*----------------------------------------------------------------
|
* 命名空间:WIDESEA_ITaskInfoService
|
* 创建者:胡童庆
|
* 创建时间:2024/8/2 16:13:36
|
* 版本:V1.0.0
|
* 描述:
|
*
|
* ----------------------------------------------------------------
|
* 修改人:
|
* 修改时间:
|
* 版本:V1.0.1
|
* 修改说明:
|
*
|
*----------------------------------------------------------------*/
|
#endregion << 版 本 注 释 >>
|
|
using Autofac.Core;
|
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.BaseRepository;
|
using WIDESEA_Core.BaseServices;
|
using WIDESEA_Core.Enums;
|
using WIDESEA_DTO;
|
using WIDESEA_DTO.Inbound;
|
using WIDESEA_DTO.Stock;
|
using WIDESEA_DTO.Task;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_ITaskInfoService
|
{
|
public interface ITaskService : IService<Dt_Task>
|
{
|
IRepository<Dt_Task> Repository { get; }
|
|
//任务反馈
|
WebResponseContent TaskCompleted(WCSTaskDTO wCSTask);
|
//WCS入库获取
|
WebResponseContent PalletInboundTask(WCSTaskDTO wCSTask);
|
|
#region WCS任务模块
|
|
//下发WCS输送线任务
|
WCSginseng PLC_IssueTasks(int TaskId, int AreaNo, string TransNo, string ContainerNo, int ContainerType, string FromPoint, string ToPoint, string ToStation);
|
//下发WCS堆垛机任务
|
WCSginseng SC_IssueTasks(int TaskId, int AreaNo, string TransNo, string ContainerNo, int ContainerType, string FromPoint, string ToPoint, string ToStation);
|
|
|
#endregion
|
|
|
#region MES任务模块
|
//空盘回库,入库任务
|
ApiResponse AddInStoreDoc(MES_InTask mES_In);
|
|
//出库接口
|
ApiResponse AddOutStoreDoc(MES_InTask mES_In);
|
|
//库位调拨接口
|
ApiResponse GetLocationByContainer(MES_InTask mES_In);
|
|
//任务查询
|
ApiResponse GetTaskInfo([FromBody] MES_InTask mES_In);
|
|
//任务取消接口
|
ApiResponse CancelTask([FromBody] MES_InTask mES_In);
|
|
|
|
//入库任务反馈接口
|
MES_parameter InStoreDocCallback(string TransNo, string Result, string ResultMsg, string ContainerNo, string LocationCode);
|
//出库任务反馈接口
|
MES_parameter OutStoreDocCallback(string TransNo, string Result, string ResultMsg);
|
|
//储位异动申请
|
MES_parameter ApplicationChangeStorageLocation(string ContainerNo, string OriginalLocationCode, string NewLocationCode);
|
//储位异动
|
MES_parameter AbnormalStorageLocation(string ContainerNo, string OriginalLocationCode, string NewLocationCode);
|
/// 任务异常
|
MES_parameter ToMES_TaskException(string TransNo, string EquipmentType, string EquipmentNumber, string ErrorInfo);
|
#endregion
|
}
|
}
|