|
@@ -991,6 +991,12 @@ namespace TeamAAS_VP.ViewModels.Product
|
|
|
if (result1 == ButtonResult.OK)
|
|
if (result1 == ButtonResult.OK)
|
|
|
{
|
|
{
|
|
|
var param = rst.Parameters.GetValue<ObservableCollection<PointEx>>("CorrectPoints");
|
|
var param = rst.Parameters.GetValue<ObservableCollection<PointEx>>("CorrectPoints");
|
|
|
|
|
+ for (int i = 0; i < SelectProduct.ScrewPoints.Count; i++)
|
|
|
|
|
+ {
|
|
|
|
|
+ SelectProduct.ScrewPoints[i].X_Position = param[i].PostX;
|
|
|
|
|
+ SelectProduct.ScrewPoints[i].Y_Position = param[i].PostY;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
_eventAggregator.GetEvent<SnackbarMessageNotification>().Publish(new MessageParameter() { Msg = "完成!", Duration = 1 });
|
|
_eventAggregator.GetEvent<SnackbarMessageNotification>().Publish(new MessageParameter() { Msg = "完成!", Duration = 1 });
|
|
|
}
|
|
}
|
|
|
|
|
|