C# Класс Com.Aurora.AuWeather.Models.HeWeather.HeWeatherModel

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Generate() публичный статический Метод

public static Generate ( string resstr, DataSource dataSource ) : HeWeatherModel
resstr string
dataSource DataSource
Результат HeWeatherModel

HeWeatherModel() публичный Метод

public HeWeatherModel ( HeWeatherContract heweathercontract ) : Com.Aurora.Shared.Extensions
heweathercontract Com.Aurora.AuWeather.Models.HeWeather.JsonContract.HeWeatherContract
Результат Com.Aurora.Shared.Extensions

HeWeatherModel() публичный Метод

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
Результат Com.Aurora.Shared.Extensions

HeWeatherModel() публичный Метод

public HeWeatherModel ( WunderGroundContract wun ) : Com.Aurora.Shared.Extensions
wun Com.Aurora.AuWeather.Core.Models.WunderGround.JsonContract.WunderGroundContract
Результат Com.Aurora.Shared.Extensions