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/TeamFoundationServicePPCClient.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting') diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs index 52867c65f..26d6425bf 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs @@ -61,7 +61,7 @@ namespace Tango.PPC.BugReporting.TFS var tempFolder = TemporaryManager.CreateFolder(); - await Task.Factory.StartNew(() => + await Task.Factory.StartNew(() => { item.Title = title; @@ -150,6 +150,16 @@ namespace Tango.PPC.BugReporting.TFS LogManager.Log("Machine is disconnected."); } + if (_machineProvider.MachineOperator.DeviceInformation != null) + { + item.EmbeddedVersion = _machineProvider.MachineOperator.DeviceInformation.Version; + } + + if (_machineProvider.Machine != null) + { + item.MachineSerialNumber = _machineProvider.Machine.SerialNumber; + } + String html = String.Empty; LogManager.Log("Generating HTML system information from template..."); -- cgit v1.3.1