2023-02-21 06:27:20 +00:00
|
|
|
using InnovEnergy.Lib.StatusApi.Phases;
|
|
|
|
|
|
|
|
namespace InnovEnergy.Lib.StatusApi.Connections;
|
|
|
|
|
2023-02-22 13:46:36 +00:00
|
|
|
public record ThreePhaseAcConnection(AcPhase L1, AcPhase L2, AcPhase L3, Decimal Frequency)
|
2023-02-21 06:27:20 +00:00
|
|
|
{
|
|
|
|
public Decimal ApparentPower => L1.ApparentPower + L2.ApparentPower + L3.ApparentPower;
|
|
|
|
public Decimal ReactivePower => L1.ReactivePower + L2.ReactivePower + L3.ReactivePower;
|
2023-02-22 13:46:36 +00:00
|
|
|
public Decimal ActivePower => L1.ActivePower + L2.ActivePower + L3.ActivePower;
|
|
|
|
}
|