aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-12-12 18:47:31 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-12-12 18:47:31 +0200
commitf901d520c6a62797eae912144d6c33d5881cc272 (patch)
tree76ab476634f2b443a41e8b4f1180d2164f8aceed /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
parent33de2cfe94b9fde80f987aab9ad5aa95be6d4371 (diff)
parentd9a89773f2f283fbf5596799dd4d50d231817203 (diff)
downloadTango-f901d520c6a62797eae912144d6c33d5881cc272.tar.gz
Tango-f901d520c6a62797eae912144d6c33d5881cc272.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
index 16b1c05bc..84987d705 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
@@ -102,6 +102,17 @@ namespace Tango.PPC.UI.ViewModels
set { _state = value; RaisePropertyChangedAuto(); InvalidateRelayCommands(); }
}
+ private String _failedError;
+ /// <summary>
+ /// Gets or sets the setup failed error.
+ /// </summary>
+ public String FailedError
+ {
+ get { return _failedError; }
+ set { _failedError = value; RaisePropertyChangedAuto(); }
+ }
+
+
#endregion
#region Commands
@@ -281,6 +292,7 @@ namespace Tango.PPC.UI.ViewModels
catch (Exception ex)
{
LogManager.Log(ex, "Machine setup failed.");
+ FailedError = ex.FlattenMessage();
State = MachineSetupStates.Failed;
await NavigateTo(MachineSetupView.SetupFailedView);
}