Ejemplo n.º 1
0
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         BaseVoltage x = (BaseVoltage)obj;
         return((x.NominalVoltage == this.NominalVoltage) &&
                (CompareHelper.CompareLists(x.conductingEquipments, this.conductingEquipments)));
     }
     else
     {
         return(false);
     }
 }
Ejemplo n.º 2
0
 protected BaseVoltage(BaseVoltage bv) : base(bv)
 {
     NominalVoltage = bv.NominalVoltage;
     ConductingEquipments.AddRange(bv.ConductingEquipments);
 }