public void AddPickingSlot(PickingSlot pickingSlot) { if (!PickingSlots.ContainsKey(pickingSlot.ToString())) { PickingSlots.Add(pickingSlot.ToString(), pickingSlot); } }
public void AddPickingSlots(IEnumerable <PickingSlot> slots) { foreach (var pickingSlot in slots) { if (!PickingSlots.ContainsKey(pickingSlot.ToString())) { PickingSlots.Add(pickingSlot.ToString(), pickingSlot); } } }