public class ProcessEntFurnaceSection : ProcessEntBase, IHaveActiveLength
{
#region Private
private double activeLength;
#endregion
#region Public
/// <summary>
///
/// </summary>
public double ActiveLength
{
get { return activeLength; }
set
{
activeLength = value;
NotifyPropertyChanged(() => ActiveLength);
}
}
#endregion
#region Cloning methods
/// <summary>
/// Creates a new object that is a copy of the current instance.
/// </summary>
/// <returns>
/// A new object that is a copy of this instance.
/// </returns>
public override object Clone()
{
var cl = new ProcessEntFurnaceSection();
CloneTo(cl);
return cl;
}
/// <summary>
/// Clones this to the passed destination
/// </summary>
/// <param name="destination">The destination.</param>
public override void CloneTo(object destination)
{
base.CloneTo(destination);
var tmpDestination = (ProcessEntFurnaceSection)destination;
tmpDestination.ActiveLength = this.ActiveLength;
}
#endregion
}