1
wankeda
2026-03-12 ababb6ad4189ec943009c0245db6f43396bb36ab
WCS/WIDESEAWCS_Server/WIDESEAWCS_ITaskInfoService/ITaskService.cs
@@ -59,14 +59,20 @@
        WebResponseContent ReceiveWMSTask([NotNull] List<WMSTaskDTO> taskDTOs);
        /// <summary>
        /// 接收WMS任务信息
        /// </summary>
        /// <param name="taskDTOs">WMS任务对象集合</param>
        /// <returns>返回处理结果</returns>
        WebResponseContent ReceiveWMSCPTask([NotNull] List<WMSTaskDTO> taskDTOs);
        /// <summary>
        /// 根据托盘号、起始地址向WMS请求任务
        /// </summary>
        /// <param name="palletCode">托盘号</param>
        /// <param name="sourceAddress">起始地址</param>
        /// <returns></returns>
        WebResponseContent RequestWMSTask(string palletCode, string sourceAddress, string materielBoxCode = "");
        WebResponseContent RequestWMSZHTask(string agvTaskCode, string palletCode, string palletType,string materialLot);
        WebResponseContent RequestWMSZHTask(string agvTaskCode, string palletCode, string palletType, string materialLot);
        /// <summary>
        /// 向WMS申请任务
@@ -74,7 +80,15 @@
        /// <param name="palletCode">托盘号</param>
        /// <param name="sourceAddress">起始地址</param>
        /// <returns></returns>
        WebResponseContent RequestWMSTaskSimple(string palletCode, string sourceAddress);
        WebResponseContent RequestWMSTaskSimple(string palletCode, string sourceAddress, int heightType);
        WebResponseContent CPRequestWMSTaskSimple(string palletCode, string sourceAddress, int heightType, string courceAddress);
        /// <summary>
        /// 申请巷道
        /// </summary>
        /// <returns></returns>
        WebResponseContent ApplyLocation(string palletCode);
        /// <summary>
        /// 向WMS申请任务
@@ -220,7 +234,7 @@
        /// <param name="targetAddress">修改后的目标地址</param>
        /// <param name="currentAddress">修改后的当前地址</param>
        /// <param name="nextAddress">修改后的下一地址</param>
        void UpdateTask(Dt_Task task, TaskStatusEnum taskStatus, string deviceCode = "", string sourceAddress = "", string targetAddress = "", string currentAddress = "", string nextAddress = "", string roadwayNo = "", int heightType = 0);
        void UpdateTask(Dt_Task task, TaskStatusEnum taskStatus, string deviceCode = "", string sourceAddress = "", string targetAddress = "", string currentAddress = "", string nextAddress = "", string roadwayNo = "", int heightType = 0, string RGVCode = "");
        /// <summary>
        /// 请求分配巷道
@@ -265,7 +279,7 @@
        /// <summary>
        /// //判断移库货位任务是否已存在,如存在先执行
        /// </summary>
        Dt_Task QueryStackerExistTask(string PalletCode,string locationCode);
        Dt_Task QueryStackerExistTask(string PalletCode, string locationCode);
        /// <summary>
        /// AGV成品取放货通知
        /// </summary>
@@ -290,5 +304,12 @@
        /// <param name="taskNum"></param>
        /// <returns></returns>
        public WebResponseContent RecWMSTaskCompleted(int taskNum);
        /// <summary>
        /// LED屏幕数据
        /// </summary>
        /// <param name="palletCode"></param>
        /// <returns></returns>
        WebResponseContent LedShowTask(string StationCode, string PalletCode, int TaskType);
    }
}