Add power database support

This commit is contained in:
2019-10-15 19:41:52 -04:00
parent 5bc8018068
commit d970f80278
12 changed files with 209 additions and 14 deletions

View File

@@ -1,10 +1,12 @@
using JetBrains.Annotations;
using System;
namespace ChrisKaczor.HomeMonitor.Power.Service.Models
{
[PublicAPI]
public class PowerStatus
{
public DateTimeOffset Timestamp { get; set; } = DateTimeOffset.UtcNow;
public long Generation { get; set; }
public long Consumption { get; set; }
}