diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2019-11-05 11:41:45 +0200 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2019-11-05 11:41:45 +0200 |
| commit | 8c003387a229cb852d318a718b2147cbdd7e2c67 (patch) | |
| tree | 3117bf0643541166f47e532d9a1e052b55d4a20b /Software/Visual_Studio/Web/Tango.MachineService/Controllers | |
| parent | bf66536228666d733475f4ccdb248e5cec74c0aa (diff) | |
| parent | 6f1993babfa5e15e73fbe5efb922d837527365f1 (diff) | |
| download | Tango-8c003387a229cb852d318a718b2147cbdd7e2c67.tar.gz Tango-8c003387a229cb852d318a718b2147cbdd7e2c67.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, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs index d8dc4a7b8..a77212787 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs +++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs @@ -224,6 +224,9 @@ namespace Tango.MachineService.Controllers throw new AuthenticationException("The specified serial number could not be found."); } + response.SetupFirmware = machine.SetupFirmware; + response.SetupFPGA = machine.SetupFpga; + if (!machine.SuspendVersionUpdate) { var machine_version = db.MachineVersions.SingleOrDefault(x => x.Guid == machine.MachineVersionGuid); @@ -375,6 +378,7 @@ namespace Tango.MachineService.Controllers Version = request.Version, BlobName = blob.Name, MachineVersionGuid = request.MachineVersionGuid, + FirmwareVersion = request.FirmwareVersion, }; if (request.WithInstaller) @@ -421,6 +425,7 @@ namespace Tango.MachineService.Controllers UserGuid = upload.UserGuid, Version = upload.Version, MachineVersionGuid = upload.MachineVersionGuid, + FirmwareVersion = upload.FirmwareVersion, }); db.SaveChanges(); |
