mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-02-07 01:25:38 -05:00
Rework wind history API
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace ChrisKaczor.HomeMonitor.Weather.Service.Models
|
||||
{
|
||||
[PublicAPI]
|
||||
public class WindDirectionReadingGrouped
|
||||
{
|
||||
public int WindDirection { get; set; }
|
||||
|
||||
public int Count { get; set; }
|
||||
}
|
||||
}
|
||||
19
Weather/Service/Models/WindHistoryGrouped.cs
Normal file
19
Weather/Service/Models/WindHistoryGrouped.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using JetBrains.Annotations;
|
||||
using System;
|
||||
|
||||
namespace ChrisKaczor.HomeMonitor.Weather.Service.Models
|
||||
{
|
||||
[PublicAPI]
|
||||
public class WindHistoryGrouped
|
||||
{
|
||||
public DateTimeOffset Bucket { get; set; }
|
||||
|
||||
public decimal MinimumSpeed { get; set; }
|
||||
|
||||
public decimal AverageSpeed { get; set; }
|
||||
|
||||
public decimal MaximumSpeed { get; set; }
|
||||
|
||||
public decimal AverageDirection { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
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