Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Vergleichsoperator.
 /// </summary>
 /// <param name="other"></param>
 /// <returns></returns>
 public bool Equals(SimVal other)
 {
     return(this.Value == other.Value && this.Text == other.Text);
 } // Equals()