修改第二行扫码和第一行扫码提示不一致的问题

master
lhiven 1 year ago
parent 2d8d4b3498
commit e976f85dac

@ -2029,7 +2029,9 @@ namespace Rs.MotionPlat.Flow
}
else
{
box = MsgBox.ShowDialog(AlarmConstID.ScanBarCodeFailAlarm, $"{vr.SlotIndex}穴位扫码失败", ETipButton.Retry | ETipButton.Skip);
//box = MsgBox.ShowDialog(AlarmConstID.ScanBarCodeFailAlarm, $"{vr.SlotIndex}穴位扫码失败", ETipButton.Retry | ETipButton.Skip);
alarmInfo = string.Format(AlarmCollection.GetAlarm(AlarmConstID.), vr.SlotIndex);
box = MsgBox.ShowDialog(AlarmConstID., alarmInfo, ETipButton.Retry | ETipButton.Cancel);
if (box.Button == ETipButton.Retry)
{
failNum = 1;

@ -67,7 +67,8 @@ namespace Rs.MotionPlat
buttonText.Add(ETipButton.Retry, "重试|Retry");
buttonText.Add(ETipButton.Skip, "跳过|Skip");
buttonText.Add(ETipButton.Yes, "移动到安全位|MoveToSafePos");
MsgBox.ShowDialog(AlarmConstID.tray, alarminfo, btnText, buttonText);
// MsgBox.ShowDialog(AlarmConstID.料仓tray盘取料报警, alarminfo, btnText, buttonText);
AlarmMsg.Show(AlarmConstID.tray,AlarmCollection.Get(AlarmConstID.tray).Transform("1","1"), btnText, buttonText);
}
private void button2_Click(object sender, EventArgs e)

Loading…
Cancel
Save