aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-01-20 03:17:07 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-01-20 03:17:07 +0200
commit84de71b6eaccb99c99f0a874a0eb076fe067c692 (patch)
tree0e6dbb1bbb854f8622713c74bb6373b2ea8be1fd /Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance
parentdde87212410e8beeb082700454a409aa2f31e785 (diff)
downloadTango-84de71b6eaccb99c99f0a874a0eb076fe067c692.tar.gz
Tango-84de71b6eaccb99c99f0a874a0eb076fe067c692.zip
"Light Inks Installed" & "Use Light Inks When Possible"
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Dialogs/CleanerDispensingViewVM.cs11
1 files changed, 10 insertions, 1 deletions
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 e37be417f..d1a02a940 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,7 +78,16 @@ namespace Tango.PPC.Maintenance.Dialogs
Status = "Dispensing cleaner liquid...";
- var cleanerPack = MachineProvider.Machine.Configuration.NoneEmptyIdsPacks.FirstOrDefault(x => x.LiquidType.Type == BL.Enumerations.LiquidTypes.Cleaner);
+ 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);
+ }
if (cleanerPack == null)
{