public override bool Equals(object obj) { if (base.Equals(obj)) { ConductingEquipment x = (ConductingEquipment)obj; return(CompareHelper.CompareLists(x.terminals, this.terminals, true) && x.baseVoltage == this.baseVoltage && x.isRemote == this.isRemote); } else { return(false); } }
protected ConductingEquipment(ConductingEquipment ce) : base(ce) { BaseVoltage = ce.BaseVoltage; Terminals.AddRange(ce.Terminals); }