public override bool Equals(object obj)
        {
            if (obj == null || obj.GetType() != this.GetType())
            {
                return(false);
            }
            ProductionLineDescription ProductionLineDescription = (ProductionLineDescription)obj;

            return(Description.Equals(ProductionLineDescription.Description));
        }
示例#2
0
 public ProductionLine(ProductionLineDescription description, List <Machine> Machines)
 {
     this.Description = description;
     this.Machines    = Machines;
 }