Ejemplo n.º 1
0
 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);
     }
 }
Ejemplo n.º 2
0
 protected ConductingEquipment(ConductingEquipment ce) : base(ce)
 {
     BaseVoltage = ce.BaseVoltage;
     Terminals.AddRange(ce.Terminals);
 }