|
@@ -128,11 +128,15 @@ namespace WCS.WorkEngineering.Systems
|
|
|
{
|
|
|
"1N" => "TY1",
|
|
|
"1S" => "TY2",
|
|
|
+ "2N" => "TY3",
|
|
|
+ "2S" => "TY4",
|
|
|
+ "3N" => "TY5",
|
|
|
+ "3S" => "TY6",
|
|
|
_ => "TY1"
|
|
|
};
|
|
|
task.Height = 1;
|
|
|
task.Status = Entity.TaskStatus.WaitingToExecute;
|
|
|
- db.Default.UpdateableRowLock(task).UpdateColumns(x => new { x.Status, x.AgvTaskID }).ExecuteCommand();
|
|
|
+ db.Default.UpdateableRowLock(task).UpdateColumns(x => new { x.Status, x.AgvTaskID, x.Device, x.Height }).ExecuteCommand();
|
|
|
task.AddWCS_TASK_DTL(db.Default, task.Device, $"初始化人工满托入库任务");
|
|
|
}
|
|
|
else
|