Beispiel #1
0
 public TemperatureSensor()
 {
     _temperature = new PropertyValue();
     _temperatureSetpoint = new PropertyValue();
     _allowManual = new BoolPropertyValue();
 }
Beispiel #2
0
 public override void Update(BaseObject newObject)
 {
     base.Update(newObject);
     Temperature = ((TemperatureSensor)newObject).Temperature;
     TemperatureSetpoint = ((TemperatureSensor)newObject).TemperatureSetpoint;
 }
Beispiel #3
0
 public override void Update(BaseObject newObject)
 {
     base.Update(newObject);
     LightLevel = ((LightSensor)newObject).LightLevel;
 }