Ejemplo n.º 1
0
 public PressureModel(ISensorDataAccess pressure)
 {
     this.pressure     = pressure;
     pressure.Changed += Pressure_Changed;;
 }
Ejemplo n.º 2
0
 public HumidityModel(ISensorDataAccess humidity)
 {
     this.humidity     = humidity;
     humidity.Changed += Humidity_Changed;;
 }
Ejemplo n.º 3
0
 public TemperatureModel(ISensorDataAccess temperature)
 {
     this.temperature     = temperature;
     temperature.Changed += Temperature_Changed;
 }