mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-24 09:35:39 -05:00
Power service updates
- Upgrade to .NET 8 - Remove ApplicationInsights - Add OpenTelemetry
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
using JetBrains.Annotations;
|
||||
using System;
|
||||
|
||||
namespace ChrisKaczor.HomeMonitor.Power.Service.Models
|
||||
namespace ChrisKaczor.HomeMonitor.Power.Service.Models;
|
||||
|
||||
[PublicAPI]
|
||||
public class PowerStatus
|
||||
{
|
||||
[PublicAPI]
|
||||
public class PowerStatus
|
||||
{
|
||||
public DateTimeOffset Timestamp { get; set; } = DateTimeOffset.UtcNow;
|
||||
public long Generation { get; set; }
|
||||
public long Consumption { get; set; }
|
||||
}
|
||||
}
|
||||
public DateTimeOffset Timestamp { get; set; } = DateTimeOffset.UtcNow;
|
||||
public long Generation { get; set; }
|
||||
public long Consumption { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user