diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs | 190 |
1 files changed, 190 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs b/Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs index 17b29d691..ec34e0254 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs @@ -109,6 +109,16 @@ namespace Tango.BL.Entities public event EventHandler<Double> BtsrTensionErrorChanged; + public event EventHandler<Int32> CmykvPredictionTypeChanged; + + public event EventHandler<Int32> CmykvPredictionMethodChanged; + + public event EventHandler<Double> CmykvHueThresholdChanged; + + public event EventHandler<Int32> KNearestKChanged; + + public event EventHandler<Double> SimpleRgbPreviewFactorChanged; + public event EventHandler<BtsrApplicationType> BtsrApplicationTypeChanged; public event EventHandler<BtsrYarnType> BtsrYarnTypeChanged; @@ -1540,6 +1550,141 @@ namespace Tango.BL.Entities } } + protected Int32 _cmykvpredictiontype; + + /// <summary> + /// Gets or sets the rmlbase cmykv prediction type. + /// </summary> + + [Column("CMYKV_PREDICTION_TYPE")] + + public Int32 CmykvPredictionType + { + get + { + return _cmykvpredictiontype; + } + + set + { + if (_cmykvpredictiontype != value) + { + _cmykvpredictiontype = value; + + OnCmykvPredictionTypeChanged(value); + + } + } + } + + protected Int32 _cmykvpredictionmethod; + + /// <summary> + /// Gets or sets the rmlbase cmykv prediction method. + /// </summary> + + [Column("CMYKV_PREDICTION_METHOD")] + + public Int32 CmykvPredictionMethod + { + get + { + return _cmykvpredictionmethod; + } + + set + { + if (_cmykvpredictionmethod != value) + { + _cmykvpredictionmethod = value; + + OnCmykvPredictionMethodChanged(value); + + } + } + } + + protected Double _cmykvhuethreshold; + + /// <summary> + /// Gets or sets the rmlbase cmykv hue threshold. + /// </summary> + + [Column("CMYKV_HUE_THRESHOLD")] + + public Double CmykvHueThreshold + { + get + { + return _cmykvhuethreshold; + } + + set + { + if (_cmykvhuethreshold != value) + { + _cmykvhuethreshold = value; + + OnCmykvHueThresholdChanged(value); + + } + } + } + + protected Int32 _knearestk; + + /// <summary> + /// Gets or sets the rmlbase k nearest k. + /// </summary> + + [Column("K_NEAREST_K")] + + public Int32 KNearestK + { + get + { + return _knearestk; + } + + set + { + if (_knearestk != value) + { + _knearestk = value; + + OnKNearestKChanged(value); + + } + } + } + + protected Double _simplergbpreviewfactor; + + /// <summary> + /// Gets or sets the rmlbase simple rgb preview factor. + /// </summary> + + [Column("SIMPLE_RGB_PREVIEW_FACTOR")] + + public Double SimpleRgbPreviewFactor + { + get + { + return _simplergbpreviewfactor; + } + + set + { + if (_simplergbpreviewfactor != value) + { + _simplergbpreviewfactor = value; + + OnSimpleRgbPreviewFactorChanged(value); + + } + } + } + protected BtsrApplicationType _btsrapplicationtype; /// <summary> @@ -2462,6 +2607,51 @@ namespace Tango.BL.Entities } /// <summary> + /// Called when the CmykvPredictionType has changed. + /// </summary> + protected virtual void OnCmykvPredictionTypeChanged(Int32 cmykvpredictiontype) + { + CmykvPredictionTypeChanged?.Invoke(this, cmykvpredictiontype); + RaisePropertyChanged(nameof(CmykvPredictionType)); + } + + /// <summary> + /// Called when the CmykvPredictionMethod has changed. + /// </summary> + protected virtual void OnCmykvPredictionMethodChanged(Int32 cmykvpredictionmethod) + { + CmykvPredictionMethodChanged?.Invoke(this, cmykvpredictionmethod); + RaisePropertyChanged(nameof(CmykvPredictionMethod)); + } + + /// <summary> + /// Called when the CmykvHueThreshold has changed. + /// </summary> + protected virtual void OnCmykvHueThresholdChanged(Double cmykvhuethreshold) + { + CmykvHueThresholdChanged?.Invoke(this, cmykvhuethreshold); + RaisePropertyChanged(nameof(CmykvHueThreshold)); + } + + /// <summary> + /// Called when the KNearestK has changed. + /// </summary> + protected virtual void OnKNearestKChanged(Int32 knearestk) + { + KNearestKChanged?.Invoke(this, knearestk); + RaisePropertyChanged(nameof(KNearestK)); + } + + /// <summary> + /// Called when the SimpleRgbPreviewFactor has changed. + /// </summary> + protected virtual void OnSimpleRgbPreviewFactorChanged(Double simplergbpreviewfactor) + { + SimpleRgbPreviewFactorChanged?.Invoke(this, simplergbpreviewfactor); + RaisePropertyChanged(nameof(SimpleRgbPreviewFactor)); + } + + /// <summary> /// Called when the BtsrApplicationType has changed. /// </summary> protected virtual void OnBtsrApplicationTypeChanged(BtsrApplicationType btsrapplicationtype) |
