| | |
| | | *----------------------------------------------------------------*/ |
| | | #endregion << ç æ¬ 注 é >> |
| | | |
| | | using Autofac.Core; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | 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; |
| | |
| | | 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 |
| | | } |
| | | } |