Wms/WMS.BLL/BllTransServer/RcsServer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Wms/WMS.BLL/SysServer/PalletsServer.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Wms/WMS.BLL/BllTransServer/RcsServer.cs
@@ -1190,7 +1190,7 @@ /// </summary> /// <param name="req"></param> /// <returns></returns> public bool CreateTaskForAgv(TaskDetial taskDetial, string url) public bool CreateTaskForAgv(TaskDetial taskDetial, string url,string priority=null) { bool result = false; @@ -1240,6 +1240,7 @@ agvTask.positionCodePath = pahtList;//小车路径 agvTask.podCode = ""; agvTask.userCallCode = "";//taskDetial.Endport;//目标位置 agvTask.priority = priority;//优先级 //判断容器类型 if (taskDetial.WareHouseNo == "M04")//喷干车间 { @@ -1412,7 +1413,7 @@ }; //给下车下发任务 logTaskEntry.SendDate = DateTime.Now;//发送时间 var agvResult = CreateTaskForAgv(task, url); var agvResult = CreateTaskForAgv(task, url, "70"); if (agvResult)//成功 { //请求成功修改任务表相应字段状态 Wms/WMS.BLL/SysServer/PalletsServer.cs
@@ -163,14 +163,18 @@ { throw new Exception("未查到设备所属区域信息"); } if (!areaInfo.AreaName.Contains("接料设备")) //125设备是接料和混料一体机 if (deviceCode != "125") { throw new Exception("只能绑定接料设备"); } if (areaInfo.WareHouseNo != "M03") { throw new Exception("只有大单体车间才能绑定设备"); } if (!areaInfo.AreaName.Contains("接料设备")) { throw new Exception("只能绑定接料设备"); } if (areaInfo.WareHouseNo != "M03") { throw new Exception("只有大单体车间才能绑定设备"); } } } //开启事务 db.BeginTran();