aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs6
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 30abb561f..4c71c2a1a 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs
@@ -97,7 +97,7 @@ namespace Tango.PPC.Common.MachineUpdate
_machineProvider = machineProvider;
_app_manager = applicationManager;
_packageRunner = packageRunner;
- _packageRunner.PackageStateChanged += _packageRunner_PackageStateChanged;
+ _packageRunner.PackageProgress += _packageRunner_PackageProgress;
_logs = new List<LogItemBase>();
LogManager.NewLog += LogManager_NewLog;
@@ -111,9 +111,9 @@ namespace Tango.PPC.Common.MachineUpdate
#region Event Handlers
- private void _packageRunner_PackageStateChanged(object sender, PackageStateChangedEventArgs e)
+ private void _packageRunner_PackageProgress(object sender, PackageProgressEventArgs e)
{
- UpdateProgress(e.PackageType == PackageType.Pre ? "Preparing" : "Finalizing", e.PackageName);
+ UpdateProgress(e.PackageName, e.Message, e.IsIntermediate, e.Progress, e.Total);
}
private void LogManager_NewLog(object sender, LogItemBase e)