diff options
| author | Avi Levkovich <avi@twine-s.com> | 2018-12-12 10:55:01 +0200 |
|---|---|---|
| committer | Avi Levkovich <avi@twine-s.com> | 2018-12-12 10:55:01 +0200 |
| commit | 4b7119fd239e1c52c5f82d4a44e9368c31c718b2 (patch) | |
| tree | 3fb640fd6092288d31dc207432e01982d72413b7 /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineSetupViewVM.cs | |
| parent | a843fbdbc0cd9cb9b6f9f753a64127b15e74c47c (diff) | |
| parent | 7427f44de312fb00e138320cedd7d4459015910a (diff) | |
| download | Tango-4b7119fd239e1c52c5f82d4a44e9368c31c718b2.tar.gz Tango-4b7119fd239e1c52c5f82d4a44e9368c31c718b2.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_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.cs | 12 |
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); } |
