aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.PMR
diff options
context:
space:
mode:
authorDavid Koren <David.Koren@twine-s.com>2022-06-26 12:41:23 +0300
committerDavid Koren <David.Koren@twine-s.com>2022-06-26 12:41:23 +0300
commit8075160f94ce51d8f62c06e0c6466b8e7de764a3 (patch)
tree2eb0039fec0071dc580b9d4ec6a0a6690b6f6bad /Software/Visual_Studio/Tango.PMR
parent359fc947c171c47875177804f7e0ab8540bdf23c (diff)
downloadTango-8075160f94ce51d8f62c06e0c6466b8e7de764a3.tar.gz
Tango-8075160f94ce51d8f62c06e0c6466b8e7de764a3.zip
bug 6486
Diffstat (limited to 'Software/Visual_Studio/Tango.PMR')
-rw-r--r--Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs b/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs
index 24f6a4534..b2eeb4e51 100644
--- a/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs
+++ b/Software/Visual_Studio/Tango.PMR/ExtensionMethods.cs
@@ -143,8 +143,8 @@ public static class ExtensionMethods
var ti = stop.Dispensers.FirstOrDefault(x => x.DispenserLiquidType == DispenserLiquidType.TransparentInk);
if (ti == null) return;
- if (Math.Max(0, minInkUptake - nlPcmSum) < minInkUptake * 0.02d) return;
-
+ // if (Math.Max(0, minInkUptake - nlPcmSum) < minInkUptake * 0.02d) return;
+ if (Math.Max(0, nlPerCM - nlPcmSum) < nlPerCM * 0.02d) return;
double newNlCM = Math.Max(0, nlPerCM - nlPcmSum);
ti.NanoliterPerCentimeter = newNlCM;