C# Class Com.Aurora.AuWeather.Models.HeWeather.HeWeatherModel

Afficher le fichier Open project: aurora-lzzp/Aurora-Weather Class Usage Examples

Méthodes publiques

Méthode Description
Generate ( string resstr, DataSource dataSource ) : HeWeatherModel
HeWeatherModel ( HeWeatherContract heweathercontract ) : Com.Aurora.Shared.Extensions
HeWeatherModel ( Now now, Forecast forecast ) : Com.Aurora.Shared.Extensions
HeWeatherModel ( WunderGroundContract wun ) : Com.Aurora.Shared.Extensions

Private Methods

Méthode Description
GenerateDailyForecast ( Daily daily ) : Com.Aurora.AuWeather.Models.HeWeather.DailyForecast[]
GenerateDailyForecast ( DailyForecastContract daily_forecast ) : Com.Aurora.AuWeather.Models.HeWeather.DailyForecast[]
GenerateDailyForecast ( forecastday forecast ) : Com.Aurora.AuWeather.Models.HeWeather.DailyForecast[]
GenerateHourlyForecast ( Hourly hourly ) : Com.Aurora.AuWeather.Models.HeWeather.HourlyForecast[]
GenerateHourlyForecast ( HourlyForecastContract hourly_forecast ) : Com.Aurora.AuWeather.Models.HeWeather.HourlyForecast[]
GenerateHourlyForecast ( hourly hourly_forecast ) : Com.Aurora.AuWeather.Models.HeWeather.HourlyForecast[]
GenerateWeatherAlarms ( WeatherAlarmContract alarms ) : Com.Aurora.AuWeather.Models.HeWeather.WeatherAlarm[]
ParseStatus ( string status_s ) : HeWeatherStatus
ParseStatus_C ( string status_s ) : HeWeatherStatus
ParseStatus_W ( WunderGroundContract w ) : HeWeatherStatus

Method Details

Generate() public static méthode

public static Generate ( string resstr, DataSource dataSource ) : HeWeatherModel
resstr string
dataSource DataSource
Résultat HeWeatherModel

HeWeatherModel() public méthode

public HeWeatherModel ( HeWeatherContract heweathercontract ) : Com.Aurora.Shared.Extensions
heweathercontract Com.Aurora.AuWeather.Models.HeWeather.JsonContract.HeWeatherContract
Résultat Com.Aurora.Shared.Extensions

HeWeatherModel() public méthode

public HeWeatherModel ( Now now, Forecast forecast ) : Com.Aurora.Shared.Extensions
now Com.Aurora.AuWeather.Core.Models.Caiyun.JsonContract.Now
forecast Com.Aurora.AuWeather.Core.Models.Caiyun.JsonContract.Forecast
Résultat Com.Aurora.Shared.Extensions

HeWeatherModel() public méthode

public HeWeatherModel ( WunderGroundContract wun ) : Com.Aurora.Shared.Extensions
wun Com.Aurora.AuWeather.Core.Models.WunderGround.JsonContract.WunderGroundContract
Résultat Com.Aurora.Shared.Extensions