|
@@ -91,22 +91,7 @@ namespace WCS.WorkEngineering.WebApi.Controllers
|
|
|
/// <returns></returns>
|
|
|
public static GenAgvSchedulingTaskResponse 托盘回库(string position, string taskCode)
|
|
|
{
|
|
|
- var pos = position;
|
|
|
- var posCode_1 = "LX002";
|
|
|
- var posCode_2 = "LXSS1";
|
|
|
- if (!position.IsNullOrEmpty())
|
|
|
- {
|
|
|
- if (position.StartsWith("2"))
|
|
|
- {
|
|
|
- posCode_1 = "LX006";
|
|
|
- posCode_2 = "LXSS2";
|
|
|
- }
|
|
|
- else if (position.StartsWith("3"))
|
|
|
- {
|
|
|
- posCode_1 = "LX010";
|
|
|
- posCode_2 = "LXSS3";
|
|
|
- }
|
|
|
- }
|
|
|
+
|
|
|
return GenAgvSchedulingTask("iwms_third", "", "4", new List<positionCodeClass>()
|
|
|
{
|
|
|
new positionCodeClass(){ //取货机台
|
|
@@ -114,11 +99,11 @@ namespace WCS.WorkEngineering.WebApi.Controllers
|
|
|
type="00"
|
|
|
},
|
|
|
new positionCodeClass(){ //巷道分配点
|
|
|
- positionCode=posCode_1,
|
|
|
+ positionCode="LX002",
|
|
|
type="00"
|
|
|
},
|
|
|
new positionCodeClass(){ //预分配放货点
|
|
|
- positionCode=posCode_2,
|
|
|
+ positionCode="LXSS2",
|
|
|
type="00"
|
|
|
}
|
|
|
}, "1", taskCode, "ZTGT31", "1");
|