2023-02-26 09:38:28 +00:00
|
|
|
using InnovEnergy.Lib.StatusApi.Connections;
|
2023-03-01 07:07:26 +00:00
|
|
|
using InnovEnergy.Lib.StatusApi.Generator;
|
2023-03-01 07:14:32 +00:00
|
|
|
using InnovEnergy.Lib.Units;
|
2023-02-26 09:38:28 +00:00
|
|
|
using InnovEnergy.Lib.Units.Composite;
|
|
|
|
|
|
|
|
namespace InnovEnergy.Lib.StatusApi;
|
|
|
|
|
2023-03-01 07:07:26 +00:00
|
|
|
using T = BatteryStatus;
|
|
|
|
|
|
|
|
[OpParallel]
|
|
|
|
public partial record BatteryStatus : DeviceStatus, IDcConnection
|
|
|
|
{
|
2023-03-01 12:23:42 +00:00
|
|
|
public DcBus Dc { get; init; }
|
2023-03-01 09:40:25 +00:00
|
|
|
public Percent Soc { get; init; }
|
|
|
|
public Temperature Temperature { get; init; }
|
2023-03-01 07:07:26 +00:00
|
|
|
}
|
2023-02-26 09:38:28 +00:00
|
|
|
|