update BatteryStatus to include SOC and Temperature

This commit is contained in:
ig 2023-03-01 08:14:32 +01:00
parent 9bf23f3ec8
commit f6f4326afa
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
using InnovEnergy.Lib.StatusApi.Connections; using InnovEnergy.Lib.StatusApi.Connections;
using InnovEnergy.Lib.StatusApi.Generator; using InnovEnergy.Lib.StatusApi.Generator;
using InnovEnergy.Lib.Units;
using InnovEnergy.Lib.Units.Composite; using InnovEnergy.Lib.Units.Composite;
namespace InnovEnergy.Lib.StatusApi; namespace InnovEnergy.Lib.StatusApi;
@ -10,5 +11,7 @@ using T = BatteryStatus;
public partial record BatteryStatus : DeviceStatus, IDcConnection public partial record BatteryStatus : DeviceStatus, IDcConnection
{ {
public required DcPhase Dc { get; init; } public required DcPhase Dc { get; init; }
public required Percent Soc { get; init; }
public required Temperature Temperature { get; init; }
} }