增加回原成功或失败时弹框提示

Eight
lhiven 3 months ago
parent 125dec217b
commit 7c5e163ad4

@ -268,6 +268,7 @@ namespace Rs.MotionPlat.Flow
MachineManage.Instance.MachineStatus = EMachineStatus.HomeFail;
MessageQueue.Instance.Insert("Device home fail");
CancleHome();
Msgbox.ShowTipDialog(EButtonType.Ok, "Device home fail");
}
break;
case EHomeFlowStep.X:
@ -290,6 +291,7 @@ namespace Rs.MotionPlat.Flow
MachineManage.Instance.MachineStatus = EMachineStatus.HomeFail;
MessageQueue.Instance.Insert("Device home fail");
CancleHome();
Msgbox.ShowTipDialog(EButtonType.Ok, "Device home fail");
}
break;
case EHomeFlowStep.Y:
@ -315,6 +317,7 @@ namespace Rs.MotionPlat.Flow
MachineManage.Instance.MachineStatus = EMachineStatus.HomeFail;
MessageQueue.Instance.Insert("Device home fail");
CancleHome();
Msgbox.ShowTipDialog(EButtonType.Ok, "Device home fail");
}
break;
case EHomeFlowStep.:
@ -335,6 +338,7 @@ namespace Rs.MotionPlat.Flow
m_bHomed = true;
DevLog.EventTracker("INIT END", 0, "", "HOME");
step = EHomeFlowStep.;
Msgbox.ShowTipDialog(EButtonType.Ok, "Home finished");
}
break;
default:

@ -31,6 +31,6 @@ using System.Runtime.InteropServices;
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
[assembly: AssemblyVersion("20.25.15.1")]
[assembly: AssemblyVersion("20.25.15.2")]
//[assembly: AssemblyVersion("1.0.0.0")]
//[assembly: AssemblyFileVersion("1.0.0.0")]

Loading…
Cancel
Save