|
@@ -1030,6 +1030,13 @@ namespace TeamAAS_VP.ViewModels.Product
|
|
|
{
|
|
{
|
|
|
try
|
|
try
|
|
|
{
|
|
{
|
|
|
|
|
+ //弹窗提示用户是否确认要通过相机自动矫正锁附点位
|
|
|
|
|
+ var resultConfirm = MessageBox.Show("确认要通过相机自动矫正锁附点位吗?", "确认", MessageBoxButton.YesNo, MessageBoxImage.Question);
|
|
|
|
|
+ if (resultConfirm != MessageBoxResult.Yes)
|
|
|
|
|
+ {
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
IDialogParameters parameters = new DialogParameters();
|
|
IDialogParameters parameters = new DialogParameters();
|
|
|
parameters.Add("Robot", Robot);
|
|
parameters.Add("Robot", Robot);
|
|
|
parameters.Add("Points", new List<PlcPoint>(SelectProduct.ScrewPoints.ToArray()));
|
|
parameters.Add("Points", new List<PlcPoint>(SelectProduct.ScrewPoints.ToArray()));
|