예제 #1
0
        public override ComputerPC MakePC()
        {
            // PC – 64 bit CPU with 2 cores, 4GB RAM, one 2000GB hard drive and monochrome video card.
            var ram = new Ram(4);
            var hardDrive = new HardDrive(2000, false, 0);

            ComputerPC pc = new ComputerPC(new Cpu(2, 64, ram), ram, new[] { new HardDrive(2000, false, 0) }, hardDrive, null, new Videocard(true));
            return pc;
        }
예제 #2
0
        public override ComputerPC MakePC()
        {
            ComputerPC pc;
            var ram = new Ram(8);
            var hardDrive = new HardDrive();

            pc = new ComputerPC(new Cpu(4, 64, ram), ram, new[] { new HardDrive(1000, false, 0) }, hardDrive, null, new Videocard());
            return pc;
        }