优化反复弹最后一盘料的问题

master
lhiven 1 year ago
parent 6ff5229e2d
commit 79b80e986c

@ -1737,12 +1737,6 @@ namespace Rs.MotionPlat.Flow
}
}
else
{
//if(!endInputClicked)
{
//这里检测到料盘种已经没有产品了,需要切盘
bool skip = false;
while (!skip)
{
if (Ops.IsOn("2号料仓缺盘光电检测"))
{
@ -1764,26 +1758,6 @@ namespace Rs.MotionPlat.Flow
});
});
StockManager.Instance.GetStock(ETrayType.Input).WaitFinished();
skip = true;
//logInfo = "Input料仓最后一盘料请确认是否继续上料?";
//msgBox = MsgBox.ShowDialog(111, logInfo, (ETipButton.Yes | ETipButton.No), new Dictionary<ETipButton, string>() { { ETipButton.Yes, "是|Yes" }, { ETipButton.No, "结束上料|EndInput" } });
//if (msgBox.Button == ETipButton.Yes)
//{
// //flowStep = EDischargeFlowStep.到取料位上方;
//}
//else
//{
// //结束上料
// endInputClicked = true;
// TestCenter.Instance.EndInput();
// skip = true;
//}
}
else
{
}
}
}
flowStep = EDischargeFlowStep.;
}

@ -261,7 +261,7 @@ namespace Rs.MotionPlat
Process proc = Process.GetCurrentProcess();
if (proc != null)
{
long userdMem = proc.PrivateMemorySize64;
long userdMem = proc.WorkingSet64;
lblMemory.Text = $"Mem:{(userdMem/1024)/1024} MB";
}
}

Loading…
Cancel
Save