diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs b/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs index 498bafc85..06248ab32 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/ProcessParametersTableBase.cs @@ -91,6 +91,12 @@ namespace Tango.BL.Entities public event EventHandler<Double> PressureBuildUpChanged; + public event EventHandler<Double> BtsrFeedingTensionChanged; + + public event EventHandler<Double> BtsrExitTensionChanged; + + public event EventHandler<Double> BtsrThreadLengthOffsetChanged; + public event EventHandler<ProcessParametersTablesGroup> ProcessParametersTablesGroupChanged; protected String _name; @@ -1107,6 +1113,99 @@ namespace Tango.BL.Entities } } + protected Double _btsrfeedingtension; + + /// <summary> + /// Gets or sets the processparameterstablebase btsr feeding tension. + /// </summary> + + [Column("BTSR_FEEDING_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(30)] + + public Double BtsrFeedingTension + { + get + { + return _btsrfeedingtension; + } + + set + { + if (_btsrfeedingtension != value) + { + _btsrfeedingtension = value; + + OnBtsrFeedingTensionChanged(value); + + } + } + } + + protected Double _btsrexittension; + + /// <summary> + /// Gets or sets the processparameterstablebase btsr exit tension. + /// </summary> + + [Column("BTSR_EXIT_TENSION")] + + [StringFormat("0.0")] + + [PropertyIndex(31)] + + public Double BtsrExitTension + { + get + { + return _btsrexittension; + } + + set + { + if (_btsrexittension != value) + { + _btsrexittension = value; + + OnBtsrExitTensionChanged(value); + + } + } + } + + protected Double _btsrthreadlengthoffset; + + /// <summary> + /// Gets or sets the processparameterstablebase btsr thread length offset. + /// </summary> + + [Column("BTSR_THREAD_LENGTH_OFFSET")] + + [StringFormat("0.0")] + + [PropertyIndex(32)] + + public Double BtsrThreadLengthOffset + { + get + { + return _btsrthreadlengthoffset; + } + + set + { + if (_btsrthreadlengthoffset != value) + { + _btsrthreadlengthoffset = value; + + OnBtsrThreadLengthOffsetChanged(value); + + } + } + } + protected ProcessParametersTablesGroup _processparameterstablesgroup; /// <summary> @@ -1428,6 +1527,33 @@ namespace Tango.BL.Entities } /// <summary> + /// Called when the BtsrFeedingTension has changed. + /// </summary> + protected virtual void OnBtsrFeedingTensionChanged(Double btsrfeedingtension) + { + BtsrFeedingTensionChanged?.Invoke(this, btsrfeedingtension); + RaisePropertyChanged(nameof(BtsrFeedingTension)); + } + + /// <summary> + /// Called when the BtsrExitTension has changed. + /// </summary> + protected virtual void OnBtsrExitTensionChanged(Double btsrexittension) + { + BtsrExitTensionChanged?.Invoke(this, btsrexittension); + RaisePropertyChanged(nameof(BtsrExitTension)); + } + + /// <summary> + /// Called when the BtsrThreadLengthOffset has changed. + /// </summary> + protected virtual void OnBtsrThreadLengthOffsetChanged(Double btsrthreadlengthoffset) + { + BtsrThreadLengthOffsetChanged?.Invoke(this, btsrthreadlengthoffset); + RaisePropertyChanged(nameof(BtsrThreadLengthOffset)); + } + + /// <summary> /// Called when the ProcessParametersTablesGroup has changed. /// </summary> protected virtual void OnProcessParametersTablesGroupChanged(ProcessParametersTablesGroup processparameterstablesgroup) |
