The representation of how to use MVVM architecture the right way!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
552 B

using System;
using SignalsMVVM.HelperClasses;
namespace SignalsMVVM.Models
{
[Serializable]
public abstract class BaseSignal : PropertyChangedClass, ICloneable
{
public string Name { get; set; }
public int Delay { get; set; }
public double Amplitude { get; set; }
public double Frequency { get; set; }
public BaseSignal(string Name)
{
this.Name = Name;
}
public object Clone()
{
return this.DeepCloneBinaryFormatter();
}
}
}