From 04fd2234090e23ff2e648d997a1cc753c9354941 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 16 Aug 2018 15:59:12 +0300 Subject: Implemented full machine setup with connectivity and communication testing! Fixed an issue with auto reset event on transport and logging :/ --- .../PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs index 281c68a77..5ecd170af 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs @@ -216,7 +216,7 @@ namespace Tango.PPC.Common.MachineSetup runner.Log += (x, msg) => { LogManager.Log(msg); - ProgressLog.Invoke(this, msg); + ProgressLog?.Invoke(this, msg); }; runner.ScriptExecuting += (x, item) => -- cgit v1.3.1 From a054c6d8866efbc4fe42621b0fa6a4fb4d5532e4 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 16 Aug 2018 16:16:31 +0300 Subject: Redundant. --- .../PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs | 2 +- Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs index 5ecd170af..8d1c0e147 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineSetup/MachineSetupManager.cs @@ -142,7 +142,7 @@ namespace Tango.PPC.Common.MachineSetup { InvokeUINow(() => { - Thread.Sleep(10); //TODO: this is necessary only for visibility... + Thread.Sleep(2); //TODO: this is necessary only for visibility... DownloadingPackagesProgress = ((double)current / (double)fileSize) * 100d; }); })) diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml index a097eeb45..6e91da3f8 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/MachineSetupView.xaml @@ -23,7 +23,7 @@ - + -- cgit v1.3.1