diff options
author | tslater2006 <tslater2006@gmail.com> | 2021-09-21 22:15:18 +0300 |
---|---|---|
committer | tslater2006 <tslater2006@gmail.com> | 2021-09-21 22:15:18 +0300 |
commit | d765fe4b3d4e963d978f33d231f23516bd4de13d (patch) | |
tree | 098daf3a6f4a1cad1aee5421656e647f9ddfbf93 /UVtools.WPF/UserSettings.cs | |
parent | 26359633cb5d6e812bfea3f4f7bac48ff090c286 (diff) |
Add additional setting for Suction Cups to only report those over a certain height
Diffstat (limited to 'UVtools.WPF/UserSettings.cs')
-rw-r--r-- | UVtools.WPF/UserSettings.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/UVtools.WPF/UserSettings.cs b/UVtools.WPF/UserSettings.cs index 730c1d3..7e62c94 100644 --- a/UVtools.WPF/UserSettings.cs +++ b/UVtools.WPF/UserSettings.cs @@ -798,6 +798,7 @@ namespace UVtools.WPF private byte _resinTrapRequiredBlackPixelsToDrain = 10; private byte _resinTrapMaximumPixelBrightnessToDrain = 30; private uint _suctionCupRequiredAreaToConsider = 10000; + private decimal _suctionCupRequiredHeightToConsider = 0.5m; private byte _touchingBoundMinimumPixelBrightness = 127; private byte _touchingBoundMarginLeft = 5; private byte _touchingBoundMarginTop = 5; @@ -968,6 +969,12 @@ namespace UVtools.WPF set => RaiseAndSetIfChanged(ref _suctionCupRequiredAreaToConsider, value); } + public decimal SuctionCupRequiredHeightToConsider + { + get => _suctionCupRequiredHeightToConsider; + set => RaiseAndSetIfChanged(ref _suctionCupRequiredHeightToConsider, value); + } + public byte TouchingBoundMinimumPixelBrightness { get => _touchingBoundMinimumPixelBrightness; |