Ejemplo n.º 1
0
        public override IdentifiedObject DeepCopy(IdentifiedObject copy = null)
        {
            if (copy == null)
            {
                copy = new RegulatingCondEq(this.GlobalId);
            }

            return(base.DeepCopy(copy));
        }
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         RegulatingCondEq x = (RegulatingCondEq)obj;
         return(CompareHelper.CompareLists(x.Controls, this.Controls, true));
     }
     else
     {
         return(false);
     }
 }
Ejemplo n.º 3
0
        public override object Clone()
        {
            RegulatingCondEq io = new RegulatingCondEq(base.GlobalId);

            io.Measurements       = this.Measurements;
            io.Mrid               = this.Mrid;
            io.Name               = this.Name;
            io.AliasName          = this.AliasName;
            io.EquipmentContainer = this.EquipmentContainer;


            return(io);
        }
Ejemplo n.º 4
0
 public RegulatingCondEq(RegulatingCondEq equipment) : base(equipment)
 {
 }