diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-22 16:38:48 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-22 16:38:48 +0200 |
| commit | 287af6d4bed5333087cb9d702d20035b1ad9a326 (patch) | |
| tree | 58d229d36680c9ee768516834cde6d8301055e02 /Software/Visual_Studio/Web/Tango.MachineService/Controllers | |
| parent | b06466e5b4fd861207452fa4cebb2ee68195a8e6 (diff) | |
| download | Tango-287af6d4bed5333087cb9d702d20035b1ad9a326.tar.gz Tango-287af6d4bed5333087cb9d702d20035b1ad9a326.zip | |
Implemented team viewer join group.
Prevent multiple power up dialogs from showing.
Implement auto available dispenser assignment for machine creation.
Sorting for machines and dispensers in Machine designer.
Implemented new PPC factory reset with team viewer and device name change.
Fixed "Exit To Shell" to open real explorer.
Redesigned restarting system view.
Updated power off animation.
Updated loading animation.
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService/Controllers')
| -rw-r--r-- | Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs | 3 |
1 files changed, 2 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 1bb025217..6ac2e3657 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs +++ b/Software/Visual_Studio/Web/Tango.MachineService/Controllers/PPCController.cs @@ -71,7 +71,7 @@ namespace Tango.MachineService.Controllers { String machine_guid = RequestToken.Object.MachineGuid; - var machine = db.Machines.SingleOrDefault(x => x.Guid == machine_guid); + var machine = db.Machines.Include(x => x.Organization).SingleOrDefault(x => x.Guid == machine_guid); if (machine == null) { @@ -151,6 +151,7 @@ namespace Tango.MachineService.Controllers response.SetupUWF = machine.SetupUwf; response.SetupFirmware = machine.SetupFirmware; response.IsDemo = machine.IsDemo; + response.Organization = machine.Organization.Name; TangoUpdate tangoUpdate = new TangoUpdate(); tangoUpdate.ApplicationVersion = latest_machine_version.Version; |
