diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2022-12-11 15:40:56 +0200 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2022-12-11 15:40:56 +0200 |
| commit | d8aa923804abfa77bef60e4b1082f3cc8ba8347f (patch) | |
| tree | 73662701b27ea69d36924ca67bd10f6307901e11 /Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs | |
| parent | d0a3f91acd04b65775afc615d426882d54dc4680 (diff) | |
| download | Tango-d8aa923804abfa77bef60e4b1082f3cc8ba8347f.tar.gz Tango-d8aa923804abfa77bef60e4b1082f3cc8ba8347f.zip | |
PPC. VFT. Set spool type from job. Clear values in VFT dialog after test.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs index d9d8142af..9f251939c 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs @@ -1106,7 +1106,7 @@ namespace Tango.PPC.Jobs.Models //throw new NotImplementedException(); } - private Rgb GetRGBColor() + public Rgb GetRGBColor() { if (ColorSpace == ColorSpaces.LAB) { @@ -1498,6 +1498,14 @@ namespace Tango.PPC.Jobs.Models InitColorsFromBestmatch(); } + public void UpdateColorFromFineTuningDlg() + { + Rgb rgb = GetRGBColor(); + _red = (int)rgb.R; + _green = (int)rgb.G; + _blue = (int)rgb.B; + InitColor(); + } #endregion #region color converters |
