aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-12-10 12:59:22 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-12-10 12:59:22 +0200
commit6240aad18f5dc54d4e29bf2d39f49ef1ba39742f (patch)
tree8899a6345ec0f2ac105d10536a8b33ecacdaf2da /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs
parentee0f4151c329542c30041ff1da91d25e8d8e2575 (diff)
downloadTango-6240aad18f5dc54d4e29bf2d39f49ef1ba39742f.tar.gz
Tango-6240aad18f5dc54d4e29bf2d39f49ef1ba39742f.zip
Added array support for stubsexec.
Improved PPC update & setup.
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);
}