コード例 #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;
 }