mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 08:04:26 +08:00
0.2.3
小白板,天气,时钟
This commit is contained in:
@@ -32,6 +32,12 @@ public sealed record WeatherDailyForecast(
|
||||
string? SunsetTime,
|
||||
int? PrecipitationProbabilityPercent);
|
||||
|
||||
public sealed record WeatherHourlyForecast(
|
||||
DateTimeOffset Time,
|
||||
double? TemperatureC,
|
||||
int? WeatherCode,
|
||||
string? WeatherText);
|
||||
|
||||
public sealed record WeatherSnapshot(
|
||||
string Provider,
|
||||
string LocationKey,
|
||||
@@ -41,5 +47,5 @@ public sealed record WeatherSnapshot(
|
||||
DateTimeOffset FetchedAt,
|
||||
DateTimeOffset? ObservationTime,
|
||||
WeatherCurrentCondition Current,
|
||||
IReadOnlyList<WeatherDailyForecast> DailyForecasts);
|
||||
|
||||
IReadOnlyList<WeatherDailyForecast> DailyForecasts,
|
||||
IReadOnlyList<WeatherHourlyForecast> HourlyForecasts);
|
||||
|
||||
Reference in New Issue
Block a user