public void ImportSoftware(SoftwareComponent software) { if (this.MaximumCapacity - software.CapacityConsumption >= 0 && this.MaximumMemory - software.MemoryConsumption >= 0) { Softwares.Add(software); } }
public void ReleaseSoftware(SoftwareComponent software) { Softwares.Remove(software); }