diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2020-08-13 19:51:57 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2020-08-13 19:51:57 +0300 |
| commit | 33f4369a4a30c3e4e9b96d4b8f22aa8f537e7796 (patch) | |
| tree | 68c91cc970bde94d01a119bc1a404bd442250b88 /Software/Visual_Studio/Web/Tango.MachineService/Controllers | |
| parent | 2bd7dc98153dd2f0eff5bdaabd89592313ee571e (diff) | |
| parent | f0c574a21a02968b227963ae728a2c25801c94ea (diff) | |
| download | Tango-33f4369a4a30c3e4e9b96d4b8f22aa8f537e7796.tar.gz Tango-33f4369a4a30c3e4e9b96d4b8f22aa8f537e7796.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers')
| -rw-r--r-- | Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs index 10af2f725..22feb29c1 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs +++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs @@ -788,10 +788,13 @@ namespace Tango.MachineService.Controllers return new LatestVersionResponse() { Version = "0.0.0.0", + FirmwareVersion = "0.0.0.0" }; } - response.Version = versions.OrderByDescending(x => Version.Parse(x.Version)).FirstOrDefault().Version; + var latestTangoVersion = versions.OrderByDescending(x => Version.Parse(x.Version)).FirstOrDefault(); + response.Version = latestTangoVersion.Version; + response.FirmwareVersion = latestTangoVersion.FirmwareVersion; } return response; |
