diff options
| author | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-09-12 13:47:16 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-09-12 13:47:16 +0300 |
| commit | 8e15f292e2950cac71282923adc357f2abf8b306 (patch) | |
| tree | 536364e18b4ddba95ebbbed9e83449a733e65527 /Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/LiquidVolumesCollection.cs | |
| parent | ae42b51d0488b8d329c3379e6c345e4fe7421cf9 (diff) | |
| download | Tango-8e15f292e2950cac71282923adc357f2abf8b306.tar.gz Tango-8e15f292e2950cac71282923adc357f2abf8b306.zip | |
Extra Inks Catalogs.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/LiquidVolumesCollection.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/LiquidVolumesCollection.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/LiquidVolumesCollection.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/LiquidVolumesCollection.cs index 704fc36b0..8eaae4452 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/LiquidVolumesCollection.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/LiquidVolumesCollection.cs @@ -43,6 +43,12 @@ namespace Tango.PPC.Jobs.Models return this.FirstOrDefault(x => x.IdsPack.LiquidType.Type == (LiquidTypes)type); } + public LiquidVolumeModel FindLiquidVolumeForCatalog(String name) + { + var volume = this.Where(x => x.IdsPack.LiquidType.HasPigment && !x.IdsPack.LiquidType.IsLightInk).FirstOrDefault(x => x.IdsPack.LiquidType.Type.ToString().ToLower().Contains(name.ToLower())); + return volume; + } + public void Undo() { this.ToList().ForEach(x => x.Undo()); |
