From f6f4326afa1dbb6cd4f20e08268a5a263bf3f81d Mon Sep 17 00:00:00 2001 From: ig Date: Wed, 1 Mar 2023 08:14:32 +0100 Subject: [PATCH] update BatteryStatus to include SOC and Temperature --- csharp/Lib/StatusApi/BatteryStatus.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/csharp/Lib/StatusApi/BatteryStatus.cs b/csharp/Lib/StatusApi/BatteryStatus.cs index 2e241e5a9..fc8961fd1 100644 --- a/csharp/Lib/StatusApi/BatteryStatus.cs +++ b/csharp/Lib/StatusApi/BatteryStatus.cs @@ -1,5 +1,6 @@ using InnovEnergy.Lib.StatusApi.Connections; using InnovEnergy.Lib.StatusApi.Generator; +using InnovEnergy.Lib.Units; using InnovEnergy.Lib.Units.Composite; namespace InnovEnergy.Lib.StatusApi; @@ -9,6 +10,8 @@ using T = BatteryStatus; [OpParallel] 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; } } \ No newline at end of file