diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs | 38 |
1 files changed, 38 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..357be1666 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/RmlBase.cs @@ -109,6 +109,8 @@ namespace Tango.BL.Entities public event EventHandler<Double> BtsrTensionErrorChanged; + public event EventHandler<Double> DefaultLiquidFactorChanged; + public event EventHandler<BtsrApplicationType> BtsrApplicationTypeChanged; public event EventHandler<BtsrYarnType> BtsrYarnTypeChanged; @@ -1540,6 +1542,33 @@ namespace Tango.BL.Entities } } + protected Double _defaultliquidfactor; + + /// <summary> + /// Gets or sets the rmlbase default liquid factor. + /// </summary> + + [Column("DEFAULT_LIQUID_FACTOR")] + + public Double DefaultLiquidFactor + { + get + { + return _defaultliquidfactor; + } + + set + { + if (_defaultliquidfactor != value) + { + _defaultliquidfactor = value; + + OnDefaultLiquidFactorChanged(value); + + } + } + } + protected BtsrApplicationType _btsrapplicationtype; /// <summary> @@ -2462,6 +2491,15 @@ namespace Tango.BL.Entities } /// <summary> + /// Called when the DefaultLiquidFactor has changed. + /// </summary> + protected virtual void OnDefaultLiquidFactorChanged(Double defaultliquidfactor) + { + DefaultLiquidFactorChanged?.Invoke(this, defaultliquidfactor); + RaisePropertyChanged(nameof(DefaultLiquidFactor)); + } + + /// <summary> /// Called when the BtsrApplicationType has changed. /// </summary> protected virtual void OnBtsrApplicationTypeChanged(BtsrApplicationType btsrapplicationtype) |
