挑料模式增加日志的写入

Eight
lhiven 3 months ago
parent 43117112b9
commit f2daf4fe26

@ -1,4 +1,5 @@
using Rs.Controls; using Rs.Controls;
using Rs.Framework;
using Rs.MotionPlat.Commom; using Rs.MotionPlat.Commom;
using Rs.MotionPlat.Entitys; using Rs.MotionPlat.Entitys;
using Rs.MotionPlat.Flow.NormalFlow; using Rs.MotionPlat.Flow.NormalFlow;
@ -114,12 +115,14 @@ namespace Rs.MotionPlat.SysConfig
EButtonType buttonSelect = Msgbox.ShowTipDialog(EButtonType.Retry | EButtonType.EndInput | EButtonType.Skip, $"slot{i + 1} location fail","location fail",true); EButtonType buttonSelect = Msgbox.ShowTipDialog(EButtonType.Retry | EButtonType.EndInput | EButtonType.Skip, $"slot{i + 1} location fail","location fail",true);
if (buttonSelect == EButtonType.EndInput) if (buttonSelect == EButtonType.EndInput)
{ {
MessageQueue.Instance.Insert("选择了EndInput");
DischargeModuleGoSafePosFlow.Instance.GoSafePostion(); DischargeModuleGoSafePosFlow.Instance.GoSafePostion();
exit = true; exit = true;
return; return;
} }
else if (buttonSelect == EButtonType.Skip) else if (buttonSelect == EButtonType.Skip)
{ {
MessageQueue.Instance.Insert("选择了Skip");
logInfo = $"{i + 1},\r\n"; logInfo = $"{i + 1},\r\n";
Invoke(new Action(() => { Invoke(new Action(() => {
dataGridView1.Rows.Add(i + 1, ""); dataGridView1.Rows.Add(i + 1, "");

Loading…
Cancel
Save