From e161c0471aa5703882e321b8e6661579dc4e0533 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 16 Sep 2019 15:10:09 +0300 Subject: Implemented bug reporting Machine SN & Embedded Version. Implemented ProcessParameters.DryerBufferLengthMeters. --- .../TFS/TeamFoundationServiceExtendedClient.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs') diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs index fba037a6e..31b330c3f 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/TFS/TeamFoundationServiceExtendedClient.cs @@ -245,6 +245,12 @@ namespace Tango.MachineStudio.UI.TFS } } + if (app.Machine != null && app.ConnectedMachine != null && app.ConnectedMachine.DeviceInformation != null) + { + item.EmbeddedVersion = app.ConnectedMachine.DeviceInformation.Version; + item.MachineSerialNumber = app.Machine.SerialNumber; + } + String html = String.Empty; using (var stream = EmbeddedResourceHelper.GetEmbeddedResourceStream("Tango.MachineStudio.UI.TFS.SystemInformationTemplate.cshtml")) -- cgit v1.3.1