C# Class Com.Aurora.AuWeather.ViewModels.NowWeatherPageViewModel

Inheritance: ViewModelBase
Mostra file Open project: aurora-lzzp/Aurora-Weather

Public Properties

Property Type Description
Alarms ObservableCollection
enableDynamic bool

Public Methods

Method Description
CurrentTimeRefreshTask ( ) : void
NowWeatherPageViewModel ( ) : Com.Aurora.AuWeather.LunarCalendar
RefreshAsync ( ) : void
RefreshCurrentTime ( ) : void

Private Methods

Method Description
CalcCalendar ( ) : void
CalculateIsNight ( System.DateTime updateTime, System.TimeSpan sunRise, System.TimeSpan sunSet ) : bool
CalculatePath ( ) : void
FetchDataAsync ( ) : System.Threading.Tasks.Task
GenerateGlance ( ) : void
GetCurrentBackgroundAsync ( ) : Task
Init ( ) : void
InitialConverterParameter ( SettingsModel settings ) : void
InitialViewModel ( ) : void
NotifyFetchDataComplete ( ) : void
NotifyParameterChanged ( object parameter ) : void
OnFetchDataFailed ( object sender, FetchDataFailedEventArgs e ) : void
OnTimeUpdated ( bool dayNightChange ) : void
ReadSettings ( ) : void
SearchExistingDataAsync ( ) : System.Threading.Tasks.Task
SetAlarm ( ) : void
SetDailyForecast ( ) : void
SetHour ( ) : void
SetHourlyTemp ( ) : void
SetNow ( ) : void
SetProportion ( ) : void
SetSuggestion ( ) : void
SetTime ( ) : void
Unload ( ) : void

Method Details

CurrentTimeRefreshTask() public method

public CurrentTimeRefreshTask ( ) : void
return void

NowWeatherPageViewModel() public method

public NowWeatherPageViewModel ( ) : Com.Aurora.AuWeather.LunarCalendar
return Com.Aurora.AuWeather.LunarCalendar

RefreshAsync() public method

public RefreshAsync ( ) : void
return void

RefreshCurrentTime() public method

public RefreshCurrentTime ( ) : void
return void

Property Details

Alarms public_oe property

public ObservableCollection Alarms
return ObservableCollection

enableDynamic public_oe property

public bool enableDynamic
return bool