Add wind history support

This commit is contained in:
2019-10-08 21:00:49 -04:00
parent 7c52e8310d
commit 7d1c3dced0
8 changed files with 82 additions and 1 deletions

View 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; }
}
}

View 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; }
}
}