zhaowc
2025-01-17 533df0275a3090951af5d3bf8f5fdbeea2ce44b8
Wms/WMS.BLL/BllPdaServer/PdaCrServer.cs
@@ -799,10 +799,10 @@
                    {
                        throw new Exception("托盘储位信息不存在,请检查!");
                    }
                    if (models.WareHouseNo != "W02")
                    {
                        throw new Exception("该托盘未在平库内,请检查!");
                    }
                    //if (models.WareHouseNo != "W02")
                    //{
                    //    throw new Exception("该托盘未在平库内,请检查!");
                    //}
                    var storageLocat = Db.Queryable<SysStorageLocat>().First(w => w.IsDel == "0" && w.LocatNo == models.LocatNo);
                    if (storageLocat == null)
                    {
@@ -1351,9 +1351,7 @@
                
                var IsTrue = false;
                while (IsTrue == true)
                {
                    // 正式运行程序放开
                    string str = "";
                    var list2 = agvTaskList.Select(m => m.TaskCode).ToList();
@@ -1375,7 +1373,7 @@
                            //更改任务的发送返回时间//
                            new TaskServer().EditTaskIssueOk(list2, time1, time2);
                            str += "下发成功";
                            IsTrue = true;
                            //IsTrue = true;
                        }
                        if (agvModel.Code == "1")
                        {
@@ -1387,7 +1385,7 @@
                    {
                        throw new Exception(ex.Message);
                    }
                }
                #endregion