aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Controllers
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2020-08-13 19:51:57 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2020-08-13 19:51:57 +0300
commit33f4369a4a30c3e4e9b96d4b8f22aa8f537e7796 (patch)
tree68c91cc970bde94d01a119bc1a404bd442250b88 /Software/Visual_Studio/Web/Tango.MachineService/Controllers
parent2bd7dc98153dd2f0eff5bdaabd89592313ee571e (diff)
parentf0c574a21a02968b227963ae728a2c25801c94ea (diff)
downloadTango-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.cs5
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;