Ejemplo n.º 1
0
 public NowWeather(double temp, string con, PcpnTotal pcpn, WindTotal wind)
 {
     Now = new NowCondition(con);
     BodyTemprature = null;
     Precipitation = (float)pcpn.local.intensity;
     Wind = new Wind(wind);
     Pressure = null;
     Temprature = Temperature.FromCelsius((float)temp);
 }
Ejemplo n.º 2
0
 public Wind(WindTotal wind)
 {
     Degree = (uint)wind.direction;
     Speed = Speed.FromKMPH((uint)wind.speed);
 }