diff -r 70d0c3102424 -r 411b72b73d8f Hardware/Sensor.cs --- a/Hardware/Sensor.cs Thu May 06 19:20:38 2010 +0000 +++ b/Hardware/Sensor.cs Sun May 09 16:22:13 2010 +0000 @@ -205,5 +205,14 @@ public float Value { get { return value; } } public DateTime Time { get { return time; } } } + + public void Accept(IVisitor visitor) { + visitor.VisitSensor(this); + } + + public void Traverse(IVisitor visitor) { + foreach (IParameter parameter in parameters) + parameter.Accept(visitor); + } } }