diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-21 23:17:25 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-12-21 23:17:25 +0200 |
| commit | cd670d0404673efd095ae2baec1873b916c49c81 (patch) | |
| tree | 2b058baa663372411956ece0c6cfdae8c1382742 /Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate | |
| parent | aeb55d27a8abf291913724fc1676ecbf27cb2c1a (diff) | |
| download | Tango-cd670d0404673efd095ae2baec1873b916c49c81.tar.gz Tango-cd670d0404673efd095ae2baec1873b916c49c81.zip | |
Implemented not existing deleted RML check for PPC update and error message.
Added proper notification when trying to remove used RML onMS.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs index d0424254b..8d6e02020 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateManager.cs @@ -852,6 +852,7 @@ namespace Tango.PPC.Common.MachineUpdate request.Rmls = db.Rmls.ToList().Select(x => new UpdatedEntity(x)).ToList(); request.HardwareVersions = db.HardwareVersions.ToList().Select(x => new UpdatedEntity(x)).ToList(); request.Catalogs = db.ColorCatalogs.ToList().Select(x => new UpdatedEntity(x)).ToList(); + request.UsedRmlsGuids = db.Jobs.Select(x => x.RmlGuid).Distinct().ToList(); } } catch (Exception ex) |
