From 60dae81ccd16a1bd4f5af3b2c5b561e201ec97da Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Thu, 28 Jan 2021 20:40:01 +0200 Subject: Added support for light inks cleaner 10' ids pack ! --- .../Tango.PPC.Maintenance/Dialogs/CleanerDispensingViewVM.cs | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance') diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Dialogs/CleanerDispensingViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Dialogs/CleanerDispensingViewVM.cs index d1a02a940..e37be417f 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Dialogs/CleanerDispensingViewVM.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Dialogs/CleanerDispensingViewVM.cs @@ -78,16 +78,7 @@ namespace Tango.PPC.Maintenance.Dialogs Status = "Dispensing cleaner liquid..."; - IdsPack cleanerPack = null; - - if (MachineProvider.Machine.LightInksInstalled) - { - cleanerPack = MachineProvider.Machine.Configuration.NoneEmptyIdsPacks.FirstOrDefault(x => x.LiquidType.Type == BL.Enumerations.LiquidTypes.TransparentInk); - } - else - { - cleanerPack = MachineProvider.Machine.Configuration.NoneEmptyIdsPacks.FirstOrDefault(x => x.LiquidType.Type == BL.Enumerations.LiquidTypes.Cleaner); - } + var cleanerPack = MachineProvider.Machine.Configuration.NoneEmptyIdsPacks.FirstOrDefault(x => x.LiquidType.Type == BL.Enumerations.LiquidTypes.Cleaner); if (cleanerPack == null) { -- cgit v1.3.1