aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2022-12-26 21:33:29 +0200
committerRoy <Roy.mail.net@gmail.com>2022-12-26 21:33:29 +0200
commite89f04cbdda4e34baef11d43c9f812773911a33c (patch)
treebc7d1a8684d7e7487b80c9ab3801b3bc988cbb65 /Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
parent2bb75ed18045f59ae694adf04439e0297f77a89f (diff)
downloadTango-e89f04cbdda4e34baef11d43c9f812773911a33c.tar.gz
Tango-e89f04cbdda4e34baef11d43c9f812773911a33c.zip
Implemented Waste Replace Handling.
Implemented Job Stop on Out Of Range on MachineOperator. Implemented job upload error on Volumes out of range.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
index 83f4d4f29..d920b32a4 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs
@@ -340,7 +340,7 @@ namespace Tango.PPC.UI.Printing
}
if (job.Segments.SelectMany(x => x.BrushStops).Any(x => x.IsLiquidVolumesOutOfRange))
{
- throw new InvalidOperationException("Error starting job. Total ink volume is out of range.");
+ throw new InvalidOperationException($"The specified ink volumes at segment {job.Segments.SelectMany(x => x.BrushStops).First(x => x.IsLiquidVolumesOutOfRange).Segment.SegmentIndex} exceeds the maximum allowed total volume for the current thread.");
}
if (job.Segments.SelectMany(x => x.BrushStops).Any(x => x.BrushColorSpace == ColorSpaces.Catalog && x.ColorCatalogsItem == null && !x.IsTransparent && !x.IsWhite))
{