From e6febb2cda232a2c89467690d9e1fbb82423618a Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Wed, 25 Sep 2019 15:20:42 +0300 Subject: Implemented MultiGraph data series colors from configuration. Added dispensers & mid-tanks diagnostics monitors. --- .../StudioApplication/DefaultStudioApplicationManager.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs index 1be62565b..0235f8cca 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/StudioApplication/DefaultStudioApplicationManager.cs @@ -26,6 +26,7 @@ using Tango.MachineStudio.Common.Notifications; using Tango.MachineStudio.UI.Views; using Tango.Integration.Operation; using Tango.MachineStudio.UI.Windows; +using Tango.BL.Builders; namespace Tango.MachineStudio.UI.StudioApplication { @@ -375,8 +376,8 @@ namespace Tango.MachineStudio.UI.StudioApplication throw new NullReferenceException($"The specified machine '{connectedMachine.SerialNumber}' could not be found on the database."); } + connectedMachine.SetMachine(Machine); ConnectedMachine = connectedMachine; - ConnectedMachine.SetMachine(Machine); var settings = SettingsManager.Default.GetOrCreate(); ConnectedMachine.JobUploadStrategy = settings.JobUploadStrategy; } -- cgit v1.3.1