public override bool Equals(object obj) { if (base.Equals(obj)) { Analog x = (Analog)obj; return((x.MaxValue == this.MaxValue) && (x.MinValue == this.MinValue) && (x.NormalValue == this.NormalValue)); } else { return(false); } }
public override bool Equals(object obj) { if ((true && base.Equals(obj))) { Analog x = (Analog)obj; return( (x.maxValue == this.maxValue) && (x.minValue == this.minValue) && (x.normalValue == this.normalValue)); } else { return(false); } }
public Analog(Analog analog) : base(analog) { MaxValue = analog.MaxValue; MinValue = analog.MinValue; NormalValue = analog.NormalValue; }