From 679c6ceb5ad91431df0180ce46c2b407cfe49def Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sat, 14 Nov 2020 01:49:42 +0200 Subject: Thread Break/Loading improvements. --- .../PPC/Tango.PPC.UI/Dialogs/ThreadBreakView.xaml | 10 +++++----- .../PPC/Tango.PPC.UI/Dialogs/ThreadBreakViewVM.cs | 2 ++ .../PPC/Tango.PPC.UI/Dialogs/ThreadLoadingView.xaml | 8 ++++---- 3 files changed, 11 insertions(+), 9 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadBreakView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadBreakView.xaml index 6c64520a4..f17860d42 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadBreakView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadBreakView.xaml @@ -51,7 +51,7 @@ Please check guiding units on both sides of the system and fix/tie the thread if possible. - + @@ -77,7 +77,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -122,7 +122,7 @@ - + @@ -149,7 +149,7 @@ - + diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadBreakViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadBreakViewVM.cs index 131f976c1..e737f3b12 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadBreakViewVM.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadBreakViewVM.cs @@ -157,6 +157,7 @@ namespace Tango.PPC.UI.Dialogs catch (Exception ex) { LogManager.Log(ex, LogCategory.Warning, "Error occurred while attempting to perform thread jogging."); + await NotificationProvider.ShowError($"Thread movement verification failed.\n{ex.FlattenMessage()}"); Stage = WizardStage.FeedingUnits; } } @@ -192,6 +193,7 @@ namespace Tango.PPC.UI.Dialogs catch (Exception ex) { LogManager.Log(ex, LogCategory.Warning, "Error occurred while attempting to perform thread jogging."); + await NotificationProvider.ShowError($"Thread movement verification failed.\n{ex.FlattenMessage()}"); Stage = WizardStage.TheDryer; } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadLoadingView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadLoadingView.xaml index 3d37c81bd..2bb63d909 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadLoadingView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Dialogs/ThreadLoadingView.xaml @@ -17,7 +17,7 @@ - + @@ -78,7 +78,7 @@ - + @@ -136,7 +136,7 @@ - Something went wrong + Something went wrong, press 'retry' to try again @@ -153,7 +153,7 @@ - Something went wrong + Something went wrong, press 'retry' to try again -- cgit v1.3.1