1.1 --- a/Hardware/Hardware.cs Wed Dec 08 19:23:13 2010 +0000
1.2 +++ b/Hardware/Hardware.cs Thu Jan 20 21:31:54 2011 +0000
1.3 @@ -55,13 +55,13 @@
1.4 get { return active.ToArray(); }
1.5 }
1.6
1.7 - protected void ActivateSensor(Sensor sensor) {
1.8 + protected void ActivateSensor(ISensor sensor) {
1.9 if (active.Add(sensor))
1.10 if (SensorAdded != null)
1.11 SensorAdded(sensor);
1.12 }
1.13
1.14 - protected void DeactivateSensor(Sensor sensor) {
1.15 + protected void DeactivateSensor(ISensor sensor) {
1.16 if (active.Remove(sensor))
1.17 if (SensorRemoved != null)
1.18 SensorRemoved(sensor);