Fixed Issue 171.
authormoel.mich
Tue, 15 Mar 2011 17:33:13 +0000
changeset 25887ccb567fae7
parent 257 f4bcb097746d
child 259 d83e927ee9d2
Fixed Issue 171.
Hardware/HDD/HDD.cs
     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  }