dengjunjie
22 小时以前 5dca339bc69b82f278e1bb5aafcf4d96c7ddd0ef
´úÂë¹ÜÀí/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs
@@ -102,7 +102,7 @@
                                //入提升机
                                if (task.TaskType == TaskTypeEnum.RK3F.ObjToInt() && task.TaskState == (int)TaskStatusEnum.CheckPalletCodeFinish)
                                {
                                    if (task.CurrentAddress==task.TargetAddress)
                                    if (task.CurrentAddress == task.TargetAddress)
                                    {
                                        var device = Storage.Devices.FirstOrDefault(x => x.DeviceCode == "TSJ") as OtherDevice;
                                        if (device == null) task.ExceptionMessage = "未找到提升机信息";
@@ -378,7 +378,7 @@
                    var task = BaseDal.QueryFirst(x => x.PalletCode == Rgv.content.podID);
                    if (task == null) throw new Exception($"未找到任务,任务编号【{Rgv.content.taskID}】");
                    //移库
                    if (task.TaskType == TaskTypeEnum.CPMoveInventory.ObjToInt() && string.IsNullOrEmpty(task.WMSTaskNum))
                    if (task.TaskType == TaskTypeEnum.CPMoveInventory.ObjToInt() && task.Creater == "WCS")
                    {
                        if (Rgv.messageType == 72)
                        {
@@ -461,7 +461,7 @@
                                    else
                                        TaskCompleted(task, deviceTypeEnum);
                                }
                                else if (task.TaskType == (int)TaskTypeEnum.CPOutbound)//出库完成
                                else if (task.TaskType == (int)TaskTypeEnum.CPOutbound || task.TaskType == (int)TaskTypeEnum.CPMoveInventory)
                                {
                                    TaskCompleted(task, deviceTypeEnum);
                                }