示例#1
0
 /**
  *
  * @param temperatureSensor
  * @param humiditySensor
  * @param windSensor
  */
 public WeatherStationController(TemperatureSensor temperatureSensor, HumiditySensor humiditySensor, WindSensor windSensor)
 {
     this.humiditySensor    = humiditySensor;
     this.temperatureSensor = temperatureSensor;
     this.windSensor        = windSensor;
 }
示例#2
0
 /**
  *
  * @param temperatureSensor
  * @param humiditySensor
  * @param windSensor
  */
 public WeatherStationController(TemperatureSensor temperatureSensor, HumiditySensor humiditySensor, WindSensor windSensor)
 {
     this.humiditySensor = humiditySensor;
     this.temperatureSensor = temperatureSensor;
     this.windSensor = windSensor;
 }