From 6240aad18f5dc54d4e29bf2d39f49ef1ba39742f Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 10 Dec 2018 12:59:22 +0200 Subject: Added array support for stubsexec. Improved PPC update & setup. --- .../PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs') 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; + /// + /// Gets or sets the setup failed error. + /// + 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); } -- cgit v1.3.1