diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-09-02 12:49:20 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-09-02 12:49:20 +0300 |
| commit | 7428db6eb757e7a77a60d34c1eb67d1b1a936651 (patch) | |
| tree | eadcce729c2da080fd1811e0d6d02af40c09a605 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate | |
| parent | 51b5bc38d819ee43a060c716b2a81955307f3b90 (diff) | |
| download | Tango-7428db6eb757e7a77a60d34c1eb67d1b1a936651.tar.gz Tango-7428db6eb757e7a77a60d34c1eb67d1b1a936651.zip | |
Improved firmware upgrade progress handling.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs index bbc8d93f6..4f8be0a6e 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs @@ -874,7 +874,7 @@ namespace Tango.PPC.Common.MachineUpdate }; handler.Progress += (_, e) => { - UpdateProgress("Updating Firmware", e.Message, false, e.Current, e.Total); + UpdateProgress("Updating Firmware", e.Message, e.IsIndeterminate, e.Current, e.Total); }; } else @@ -1457,7 +1457,7 @@ namespace Tango.PPC.Common.MachineUpdate }; handler.Progress += (_, e) => { - UpdateProgress("Updating Firmware", e.Message, false, e.Current, e.Total); + UpdateProgress("Updating Firmware", e.Message, e.IsIndeterminate, e.Current, e.Total); }; } else @@ -1550,7 +1550,7 @@ namespace Tango.PPC.Common.MachineUpdate }; handler.Progress += (_, e) => { - UpdateProgress("Updating Firmware", e.Message, false, e.Current, e.Total); + UpdateProgress("Updating Firmware", e.Message, e.IsIndeterminate, e.Current, e.Total); }; } catch (Exception ex) |
