aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-07-20 15:33:37 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-07-20 15:33:37 +0300
commit2405a27b29abf5382da56e67cc46cc338d2d0f89 (patch)
tree157df0b7416a60219b9342bda86c9f86434dfdaf /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML
parentbd51a682dbd8ffef086715011c171d531cf05b5c (diff)
downloadTango-2405a27b29abf5382da56e67cc46cc338d2d0f89.tar.gz
Tango-2405a27b29abf5382da56e67cc46cc338d2d0f89.zip
Refactored total liquid volume exceeds the max calc to nl/cm based.
Fixed notes for New Environment. Applied possible fix for PPC power up message stuck.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/ColorConversionViewVM.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/ColorConversionViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/ColorConversionViewVM.cs
index f583fa15e..d9ba419e0 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/ColorConversionViewVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/ColorConversionViewVM.cs
@@ -314,11 +314,11 @@ namespace Tango.MachineStudio.RML.ViewModels
try
{
var tables = RML.GetActiveProcessGroup().ProcessParametersTables.OrderBy(x => x.TableIndex).ToList();
- return (tables[1].MaxInkUptake / tables[0].MaxInkUptake) * 100;
+ return tables.Max(x => x.MaxInkUptake);
}
catch
{
- return BrushStop.MAX_TOTAL_LIQUID_VOLUME;
+ return BrushStop.MAX_INK_UPTAKE;
}
}