Add endpoint to get several bucketed values

This commit is contained in:
2019-10-01 18:45:28 -04:00
parent 69b72e1435
commit 0ac5208409
5 changed files with 59 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using JetBrains.Annotations;
using System;
namespace ChrisKaczor.HomeMonitor.Weather.Service.Models
{
[PublicAPI]
public class WeatherReadingGrouped
{
public DateTimeOffset Bucket { get; set; }
public decimal AverageHumidityTemperature { get; set; }
public decimal AverageHumidity { get; set; }
public decimal AveragePressureTemperature { get; set; }
public decimal AveragePressure { get; set; }
public decimal AverageLightLevel { get; set; }
}
}