Hardware/Computer.cs
changeset 324 c6ee430d6995
parent 262 8731a1b81301
child 344 3145aadca3d2
     1.1 --- a/Hardware/Computer.cs	Wed Aug 31 22:48:49 2011 +0000
     1.2 +++ b/Hardware/Computer.cs	Sat Dec 31 17:31:04 2011 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  
     1.5    The Initial Developer of the Original Code is 
     1.6    Michael Möller <m.moeller@gmx.ch>.
     1.7 -  Portions created by the Initial Developer are Copyright (C) 2009-2010
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2011
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s):
    1.12 @@ -98,7 +98,7 @@
    1.13        Add(new Heatmaster.HeatmasterGroup(settings));
    1.14  
    1.15        if (hddEnabled)
    1.16 -        Add(new HDD.HDDGroup(settings));
    1.17 +        Add(new HDD.HarddriveGroup(settings));
    1.18  
    1.19        open = true;
    1.20      }
    1.21 @@ -109,11 +109,11 @@
    1.22        [SecurityPermission(SecurityAction.LinkDemand, UnmanagedCode = true)]
    1.23        set {
    1.24          if (open && value && !hddEnabled) {
    1.25 -          Add(new HDD.HDDGroup(settings));
    1.26 +          Add(new HDD.HarddriveGroup(settings));
    1.27          } else if (open && !value && hddEnabled) {
    1.28            List<IGroup> list = new List<IGroup>();
    1.29            foreach (IGroup group in groups)
    1.30 -            if (group is HDD.HDDGroup)
    1.31 +            if (group is HDD.HarddriveGroup)
    1.32                list.Add(group);
    1.33            foreach (IGroup group in list)
    1.34              Remove(group);