public new object Clone() { CustomerList NewList = new CustomerList(); foreach (CustomerItem item in items) { NewList.Add((CustomerItem)item.Clone()); } return NewList; }
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(); }