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