mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Add power database support
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user