diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-02-11 16:09:12 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-02-11 16:09:12 +0200 |
| commit | 29ac4ab17bdc882f0f85666cb82320ca8075ba95 (patch) | |
| tree | 2879ff2c8c68bd6685a59ca25e91beb4c6f76e8f /Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineUpdateView.xaml.cs | |
| parent | 08686cebb5b2e517cd356bc33d79205d8fcc8d66 (diff) | |
| download | Tango-29ac4ab17bdc882f0f85666cb82320ca8075ba95.tar.gz Tango-29ac4ab17bdc882f0f85666cb82320ca8075ba95.zip | |
Implemented TechBoard "New Project" properly.
Changed MS => PPC default intent to Diagnostics.
Implemented producer/consumer queue for NavigationControl.
Fixed issue with empty points pushed to RealTimerGraphX.
Implemented ExternalBridgeService pinging to keep connection.
Fixed issue with Firmware upgrade DFU upload failure, now fails all transport components.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineUpdateView.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineUpdateView.xaml.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineUpdateView.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineUpdateView.xaml.cs index f63899932..13a605774 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineUpdateView.xaml.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineUpdateView.xaml.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -37,7 +38,10 @@ namespace Tango.PPC.UI.Views navigationControl.NavigateTo(view.ToString(), () => { - source.SetResult(new object()); + if (!source.Task.IsCompleted) + { + source.SetResult(new object()); + } }); return source.Task; |
