mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Add wind history support
This commit is contained in:
12
Weather/Service/Models/WindDirectionReadingGrouped.cs
Normal file
12
Weather/Service/Models/WindDirectionReadingGrouped.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ChrisKaczor.HomeMonitor.Weather.Service.Models
|
||||
{
|
||||
[PublicAPI]
|
||||
public class WindDirectionReadingGrouped
|
||||
{
|
||||
public int WindDirection { get; set; }
|
||||
|
||||
public int Count { get; set; }
|
||||
}
|
||||
}
|
||||
17
Weather/Service/Models/WindSpeedReadingGrouped.cs
Normal file
17
Weather/Service/Models/WindSpeedReadingGrouped.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using JetBrains.Annotations;
|
||||
using System;
|
||||
|
||||
namespace ChrisKaczor.HomeMonitor.Weather.Service.Models
|
||||
{
|
||||
[PublicAPI]
|
||||
public class WindSpeedReadingGrouped
|
||||
{
|
||||
public DateTimeOffset Bucket { get; set; }
|
||||
|
||||
public decimal Minimum { get; set; }
|
||||
|
||||
public decimal Average { get; set; }
|
||||
|
||||
public decimal Maximum { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user