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