diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2025-03-25 03:35:16 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2025-03-25 03:35:16 +0200 |
| commit | befb7c57d2f34196ccab399384fc8ac2fc2c0ddd (patch) | |
| tree | e9ac1a8b4c5a631737710185244810706111bfc9 /Software/Visual_Studio/PPC | |
| parent | cd278c55d43de2fa7e4eea23d9702e2925d2c540 (diff) | |
| download | Tango-befb7c57d2f34196ccab399384fc8ac2fc2c0ddd.tar.gz Tango-befb7c57d2f34196ccab399384fc8ac2fc2c0ddd.zip | |
PPC External Bridge Delay.
Diffstat (limited to 'Software/Visual_Studio/PPC')
3 files changed, 9 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/ExternalBridge/PPCExternalBridgeService.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/ExternalBridge/PPCExternalBridgeService.cs index 99951d812..133b7bb33 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/ExternalBridge/PPCExternalBridgeService.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/ExternalBridge/PPCExternalBridgeService.cs @@ -7,6 +7,7 @@ using System.Threading.Tasks; using Tango.BL.Entities; using Tango.Core.DI; using Tango.Core.Helpers; +using Tango.Core.Threading; using Tango.CSV; using Tango.Integration.ExternalBridge; using Tango.Integration.Operation; @@ -67,7 +68,11 @@ namespace Tango.PPC.Common.ExternalBridge SignalRConfiguration.Address = settings.DeploymentSlot.ToAddress(); } SignalRConfiguration.Hub = settings.ExternalBridgeSignalRHub; - Enabled = settings.EnableExternalBridge; + + TimeoutTask.StartNew(() => + { + Enabled = settings.EnableExternalBridge; + }, TimeSpan.FromMinutes(2)); }; } } diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs index ca20fe608..f980d9c22 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/PPCApplication/DefaultPPCApplicationManager.cs @@ -272,6 +272,8 @@ namespace Tango.PPC.UI.PPCApplication { try { + settings.EnableProxifier = false; + Thread.Sleep(TimeSpan.FromMinutes(1)); LogManager.Log("Disabling Proxy..."); CmdCommand cmd = null; CmdCommandResult result = null; diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs index 21879667c..249a4ceb2 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Properties/AssemblyInfo.cs @@ -8,4 +8,4 @@ using System.Windows; // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Tango PPC Application")] -[assembly: AssemblyVersion("2.3.6.0")] +[assembly: AssemblyVersion("2.3.7.0")] |
