Exemplo n.º 1
0
 public new object Clone()
 {
     CustomerList NewList = new CustomerList();
     foreach (CustomerItem item in items)
     {
         NewList.Add((CustomerItem)item.Clone());
     }
     return NewList;
 }
Exemplo n.º 2
0
 public void Assign(Configuration Obj)
 {
     baseTime = Obj.baseTime;
     materials = (MaterialList)Obj.materials.Clone();
     saws = (DeviceList)Obj.saws.Clone();
     grinders = (DeviceList)Obj.grinders.Clone();
     productions = (ProductionList)Obj.productions.Clone();
     customers = (CustomerList)Obj.customers.Clone();
     orders = (OrderList)Obj.orders.Clone();
     tasks = (TaskList)Obj.tasks.Clone();
 }