Example #1
0
 public void FreeMemory(HDD hdd)
 {
     freeMemory = sectionCount * sectionCapacity - busyMemory;
 }
Example #2
0
        public int AllStorageMemory(Flash flash, DVD dvd, HDD hdd)
        {
            int allMemory = flash.flashCapacity + hdd.sectionCapacity * hdd.sectionCount + 4700;

            return(allMemory);
        }
Example #3
0
 public void WriteCapacity(HDD hdd)
 {
     Console.WriteLine("CAPACITY - " + sectionCount * sectionCapacity);
 }