public override bool Equals(object obj) { if (base.Equals(obj)) { PowerTransformer x = (PowerTransformer)obj; return(CompareHelper.CompareLists(x.TransformerWindings, this.TransformerWindings)); } else { return(false); } }
public override bool Equals(object obj) { if (base.Equals(obj)) { PowerTransformer x = (PowerTransformer)obj; return(x.function == this.function && x.autotransformer == this.autotransformer && CompareHelper.CompareLists(x.TransformerWindings, this.TransformerWindings, true)); } else { return(false); } }
public PowerTransformer(PowerTransformer powerTransformer) : base(powerTransformer) { TransformerWindings = new List <long>(powerTransformer.TransformerWindings); }