diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-09-16 15:10:09 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-09-16 15:10:09 +0300 |
| commit | e161c0471aa5703882e321b8e6661579dc4e0533 (patch) | |
| tree | 6c0ea156ec9f9949a40ef933e3607782ef8e317f /Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting | |
| parent | 1c74b1f3e6fd3f64936df890de14e162303ee1fb (diff) | |
| download | Tango-e161c0471aa5703882e321b8e6661579dc4e0533.tar.gz Tango-e161c0471aa5703882e321b8e6661579dc4e0533.zip | |
Implemented bug reporting Machine SN & Embedded Version.
Implemented ProcessParameters.DryerBufferLengthMeters.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.BugReporting/TFS/TeamFoundationServicePPCClient.cs | 12 |
1 files changed, 11 insertions, 1 deletions
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..."); |
