Phase => Bus
This commit is contained in:
parent
b983614cfc
commit
fac1a090bf
|
@ -10,7 +10,7 @@ using T = BatteryStatus;
|
|||
[OpParallel]
|
||||
public partial record BatteryStatus : DeviceStatus, IDcConnection
|
||||
{
|
||||
public DcPhase Dc { get; init; }
|
||||
public DcBus Dc { get; init; }
|
||||
public Percent Soc { get; init; }
|
||||
public Temperature Temperature { get; init; }
|
||||
}
|
||||
|
|
|
@ -4,5 +4,5 @@ namespace InnovEnergy.Lib.StatusApi.Connections;
|
|||
|
||||
public interface IAc1Connection
|
||||
{
|
||||
Ac1Phase Ac { get; }
|
||||
Ac1Bus Ac { get; }
|
||||
}
|
|
@ -4,5 +4,5 @@ namespace InnovEnergy.Lib.StatusApi.Connections;
|
|||
|
||||
public interface IAc3Connection
|
||||
{
|
||||
Ac3Phase Ac { get; }
|
||||
Ac3Bus Ac { get; }
|
||||
}
|
|
@ -5,5 +5,5 @@ namespace InnovEnergy.Lib.StatusApi.Connections;
|
|||
|
||||
public interface IDcConnection
|
||||
{
|
||||
DcPhase Dc { get; }
|
||||
DcBus Dc { get; }
|
||||
}
|
|
@ -4,5 +4,5 @@ namespace InnovEnergy.Lib.StatusApi.Connections;
|
|||
|
||||
public interface IPvConnection
|
||||
{
|
||||
IReadOnlyList<DcPhase> Strings { get; }
|
||||
IReadOnlyList<DcBus> Strings { get; }
|
||||
}
|
|
@ -6,8 +6,8 @@ namespace InnovEnergy.Lib.StatusApi;
|
|||
[OpParallel]
|
||||
public partial record DcDcConverterStatus : DeviceStatus
|
||||
{
|
||||
public DcPhase Left { get; init; }
|
||||
public DcPhase Right { get; init; }
|
||||
public DcBus Left { get; init; }
|
||||
public DcBus Right { get; init; }
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -7,8 +7,8 @@ namespace InnovEnergy.Lib.StatusApi;
|
|||
[OpParallel]
|
||||
public partial record MpptStatus : IDcConnection, IPvConnection
|
||||
{
|
||||
public DcPhase Dc { get; init; }
|
||||
public IReadOnlyList<DcPhase> Strings { get; init; }
|
||||
public DcBus Dc { get; init; }
|
||||
public IReadOnlyList<DcBus> Strings { get; init; }
|
||||
}
|
||||
|
||||
|
|
@ -7,5 +7,5 @@ namespace InnovEnergy.Lib.StatusApi;
|
|||
[OpParallel]
|
||||
public partial record PowerMeterStatus : DeviceStatus, IAc3Connection
|
||||
{
|
||||
public Ac3Phase Ac { get; init; }
|
||||
public Ac3Bus Ac { get; init; }
|
||||
}
|
|
@ -10,6 +10,6 @@ public partial record SinglePhaseInverterStatus :
|
|||
IAc1Connection,
|
||||
IDcConnection
|
||||
{
|
||||
public Ac1Phase Ac { get; init; }
|
||||
public DcPhase Dc { get; init; }
|
||||
public Ac1Bus Ac { get; init; }
|
||||
public DcBus Dc { get; init; }
|
||||
}
|
||||
|
|
|
@ -10,6 +10,6 @@ public partial record SinglePhasePvInverterStatus :
|
|||
IAc1Connection,
|
||||
IPvConnection
|
||||
{
|
||||
public Ac1Phase Ac { get; init; }
|
||||
public IReadOnlyList<DcPhase> Strings { get; init; }
|
||||
public Ac1Bus Ac { get; init; }
|
||||
public IReadOnlyList<DcBus> Strings { get; init; }
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ public partial record ThreePhaseInverterStatus :
|
|||
IAc3Connection,
|
||||
IDcConnection
|
||||
{
|
||||
public Ac3Phase Ac { get; init; }
|
||||
public DcPhase Dc { get; init; }
|
||||
public Ac3Bus Ac { get; init; }
|
||||
public DcBus Dc { get; init; }
|
||||
}
|
||||
|
|
@ -10,6 +10,6 @@ public partial record ThreePhasePvInverterStatus :
|
|||
IAc3Connection,
|
||||
IPvConnection
|
||||
{
|
||||
public Ac3Phase Ac { get; init; }
|
||||
public IReadOnlyList<DcPhase> Strings { get; init; }
|
||||
public Ac3Bus Ac { get; init; }
|
||||
public IReadOnlyList<DcBus> Strings { get; init; }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue