Ejemplo n.º 1
0
 internal Cpu(byte numberOfCores, byte numberOfBits, Ram ram, VideoCard videoCard)
 {
     this.numberOfBits = numberOfBits;
     this.ram = ram;
     this.NumberOfCores = numberOfCores;
     this.videoCard = videoCard;
 }
Ejemplo n.º 2
0
 internal Computer(CPU cpu, RAM ram, IEnumerable<HardDrive> hardDrives, VideoCard videoCard)
 {
     this.Cpu = cpu;
     this.Ram = ram;
     this.HardDrives = hardDrives;
     this.VideoCard = videoCard;
 }
 internal Computer(ComputerType type, Cpu cpu, Ram ram, IEnumerable<HardDrive> hardDrives, VideoCard videoCard, LaptopBatteryReal battery)
 {
     this.Cpu = cpu;
     this.Ram = ram;
     this.HardDrives = hardDrives;
     this.VideoCard = videoCard;
     if (type !=
         ComputerType.LAPTOP
         && type
         !=
         ComputerType.PC)
     {
         this.VideoCard.IsMonochrome = true;
     }
     this.battery = battery;
 }