/// <summary> /// Copy Konstruktor. /// </summary> /// <param name="previous">Die vorhergehenden Daten.</param> public SimVal(SimVal previous) { Pos = previous.Pos; Value = previous.Value; RangeMin = previous.RangeMin; RangeMax = previous.RangeMax; Speed = previous.Speed; Text = previous.Text; Style = previous.Style; }
/// <summary> /// Vergleichsoperator. /// </summary> /// <param name="other"></param> /// <returns></returns> public bool Equals(SimVal other) { return(this.Value == other.Value && this.Text == other.Text); } // Equals()