aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2025-04-28 05:52:14 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2025-04-28 05:52:14 +0300
commit40b28f82bd178b9151937ba6920d427ff0df53d8 (patch)
tree9ce64840e11fea7dcf56cf9e5dada33aade0351c /Software/Visual_Studio/Tango.BL
parentf33925e973cfaa9be4d46abd81f63afe787c6607 (diff)
downloadTango-40b28f82bd178b9151937ba6920d427ff0df53d8.tar.gz
Tango-40b28f82bd178b9151937ba6920d427ff0df53d8.zip
Extra Inks Gradients
Diffstat (limited to 'Software/Visual_Studio/Tango.BL')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/BrushStop.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/BrushStop.cs b/Software/Visual_Studio/Tango.BL/Entities/BrushStop.cs
index e75a740ec..8de903a46 100644
--- a/Software/Visual_Studio/Tango.BL/Entities/BrushStop.cs
+++ b/Software/Visual_Studio/Tango.BL/Entities/BrushStop.cs
@@ -158,6 +158,11 @@ namespace Tango.BL.Entities
get { return LiquidVolumes != null ? LiquidVolumes.Where(x => x.IdsPack.LiquidType.HasPigment).OrderBy(x => x.IdsPack.LiquidType.PreferredIndex).ToObservableCollection() : null; }
}
+ public void SetLiquidVolume(LiquidTypes liquidType, double volume)
+ {
+ LiquidVolumes.First(x => x.LiquidType == liquidType).Volume = volume;
+ }
+
/// <summary>
/// Gets the collection of liquid volumes with pigmented (color) and available to standard user liquid types ordered by their liquid type preferred index.
/// </summary>