diff options
| author | Roy <Roy.mail.net@gmail.com> | 2023-07-20 15:02:13 +0300 |
|---|---|---|
| committer | Roy <Roy.mail.net@gmail.com> | 2023-07-20 15:02:13 +0300 |
| commit | b85112b0931a41924fa6e6d2bf262b56314c0734 (patch) | |
| tree | 67a42f5d9c4d994e551841d7efc1e72ea5791e68 /Software/Visual_Studio/PPC/Tango.PPC.UI/ThreadLoading/DefaultThreadLoadingService.cs | |
| parent | 0606211fa20bc124bd639d6a8d97927520a7041f (diff) | |
| parent | 9b210cc6bef8c7efd3fbceb0be58ebc9dd983861 (diff) | |
| download | Tango-b85112b0931a41924fa6e6d2bf262b56314c0734.tar.gz Tango-b85112b0931a41924fa6e6d2bf262b56314c0734.zip | |
Merge branch 'eureka' of https://twinetfs.visualstudio.com/Tango/_git/Tango into eureka
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/ThreadLoading/DefaultThreadLoadingService.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/ThreadLoading/DefaultThreadLoadingService.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/ThreadLoading/DefaultThreadLoadingService.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/ThreadLoading/DefaultThreadLoadingService.cs index a6479da63..4d6a848d3 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/ThreadLoading/DefaultThreadLoadingService.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/ThreadLoading/DefaultThreadLoadingService.cs @@ -3,7 +3,9 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using Tango.Core.DI; using Tango.Integration.Operation; +using Tango.PPC.Common.Build; using Tango.PPC.Common.Connection; using Tango.PPC.Common.Notifications; using Tango.PPC.Common.Threading; @@ -24,7 +26,8 @@ namespace Tango.PPC.UI.ThreadLoading _notificationsProvider = notificationsProvider; _machineProvider = machineProvider; _dispatcher = dispatcher; - _machineProvider.MachineOperator.ThreadLoadingStatusChanged += MachineOperator_ThreadLoadingStatusChanged; + if(false == TangoIOC.Default.GetInstance<IBuildProvider>().IsEureka) + _machineProvider.MachineOperator.ThreadLoadingStatusChanged += MachineOperator_ThreadLoadingStatusChanged; } private void MachineOperator_ThreadLoadingStatusChanged(object sender, PMR.ThreadLoading.StartThreadLoadingResponse e) |
