public override bool Equals(object obj) { if (base.Equals(obj)) { SeriesCompensator sc = (SeriesCompensator)obj; return(sc.r == this.r && sc.r0 == this.r0 && sc.x == this.x && sc.x0 == this.x0); } else { return(false); } }
public override bool Equals(object obj) { if (base.Equals(obj)) { SeriesCompensator s = (SeriesCompensator)obj; return(s.R == this.R && s.R0 == this.R0 && s.X == this.X && s.X0 == this.X0); } else { return(false); } }
public override bool Equals(object obj) { if (base.Equals(obj)) { SeriesCompensator x = (SeriesCompensator)obj; return((x.r == this.r) && (x.r0 == this.r0) && (x.x == this.x) && (x.x0 == this.x0)); } else { return(false); } }