update BatteryStatus to include SOC and Temperature
This commit is contained in:
parent
9bf23f3ec8
commit
f6f4326afa
|
@ -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;
|
||||||
|
@ -9,6 +10,8 @@ using T = BatteryStatus;
|
||||||
[OpParallel]
|
[OpParallel]
|
||||||
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; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue