Esempio n. 1
0
        public override ComputerServer MakeServer()
        {
            ComputerServer server;

            var serverRam = new Ram(12);
            var serverHDD = new HardDrive();

            var hardDrives = new List<HardDrive>
                {
                    new HardDrive(
                        0,
                        true,
                        2,
                        new List<HardDrive>
                        { 
                            new HardDrive(1000, false, 0), new HardDrive(1000, false, 0) 
                        })
                };

            var serverCpu = new Cpu(4, 32, serverRam);

            server = new ComputerServer(
                serverCpu,
                serverRam,
                hardDrives,
                serverHDD,
                null, 
                new Videocard(true));

            return server;
        }
        public override ComputerServer MakeServer()
        {
            // Server – 128 bit CPU with 2 cores, 8GB RAM, one Raid with two 500GB hard drives.
            var ram = new Ram(8);
            var serverHDD = new HardDrive();
            ComputerServer server = new ComputerServer(
                new Cpu(2, 128, ram),
                ram,
                new List<HardDrive>
                {
                        new HardDrive(0, true, 2, new List<HardDrive> { new HardDrive(500, false, 0), new HardDrive(500, false, 0) })
                },
                serverHDD,
                null,
                new Videocard(true));

            return server;
        }
Esempio n. 3
0
        public override ComputerServer MakeServer()
        {
            ComputerServer server;

            var ram = new Ram(64);
            var serverHDD = new HardDrive();
            server = new ComputerServer(
                new Cpu(8, 64, ram),
                ram,
                new List<HardDrive>
                {
                    new HardDrive(0, true, 2, new List<HardDrive> { new HardDrive(2000, false, 0), new HardDrive(2000, false, 0) })
                },
                serverHDD,
                null,
                new Videocard(true));

            return server;
        }