aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineUpdateViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-12-09 16:59:07 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-12-09 16:59:07 +0200
commitf7d320bcc6651d0c85bad73b52b14ba050a40c18 (patch)
tree6f446d30c34da651e5cb2bed93caa0edc3a38f24 /Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineUpdateViewVM.cs
parent58c791b68d9058516166cc26fc15563bd56ebeb6 (diff)
downloadTango-f7d320bcc6651d0c85bad73b52b14ba050a40c18.tar.gz
Tango-f7d320bcc6651d0c85bad73b52b14ba050a40c18.zip
Refactored PPC firmware upgrade.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineUpdateViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineUpdateViewVM.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineUpdateViewVM.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineUpdateViewVM.cs
index 108752976..c201bf555 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineUpdateViewVM.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ViewModels/MachineUpdateViewVM.cs
@@ -167,7 +167,7 @@ namespace Tango.PPC.UI.ViewModels
{
_update_result = await MachineUpdateManager.Update(MachineProvider.Machine.SerialNumber, Settings.MachineServiceAddress);
LogManager.Log("Machine update completed.");
- CompleteUpdate();
+ await NavigateTo(MachineUpdateView.UpdateCompletedView);
}
catch (Exception ex)
{
@@ -178,14 +178,13 @@ namespace Tango.PPC.UI.ViewModels
else
{
await NavigateTo(MachineUpdateView.UpdateDbProgressView);
-
LogManager.Log("Starting database update...");
try
{
await MachineUpdateManager.UpdateDB(_db_compare_result);
LogManager.Log("Database update completed.");
- await NavigateTo(MachineUpdateView.UpToDateView);
+ await NavigateTo(MachineUpdateView.UpdateCompletedView);
}
catch (Exception ex)
{