public override bool Put(RefItem item) { if (item.Value <= FreeSpace() && item.Value > 0) { //item.CapacitySpace = this; item.CapacitySpaceID = Id; SpaceElements.Add(item); return(true); } else { return(false); } }
public abstract bool Put(RefItem item);