public void FreeMemory(HDD hdd) { freeMemory = sectionCount * sectionCapacity - busyMemory; }
public int AllStorageMemory(Flash flash, DVD dvd, HDD hdd) { int allMemory = flash.flashCapacity + hdd.sectionCapacity * hdd.sectionCount + 4700; return(allMemory); }
public void WriteCapacity(HDD hdd) { Console.WriteLine("CAPACITY - " + sectionCount * sectionCapacity); }