Hardware/HDD/HDD.cs
changeset 258 87ccb567fae7
parent 233 c5139c236200
child 275 35788ddd1825
     1.1 --- a/Hardware/HDD/HDD.cs	Tue Mar 15 17:20:22 2011 +0000
     1.2 +++ b/Hardware/HDD/HDD.cs	Tue Mar 15 17:33:13 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): Paul Werelds
    1.12 @@ -162,6 +162,9 @@
    1.13        visitor.VisitHardware(this);
    1.14      }
    1.15  
    1.16 -    public void Traverse(IVisitor visitor) { }
    1.17 +    public void Traverse(IVisitor visitor) {
    1.18 +      foreach (ISensor sensor in Sensors)
    1.19 +        sensor.Accept(visitor);
    1.20 +    }
    1.21    }
    1.22  }