public void VisitEquipment(Equipment e) => _collector.AppendLine(e.Name);
public void AddDevice(Equipment e) => _devices.Add(e);
public void VisitEquipment(Equipment e) { _totalPrice += e.NetPrice(); _amountOfVisitedObjects++; }