Innovenergy_trunk/csharp/Lib/StatusApi/Connections/ThreePhaseAcConnection.cs

10 lines
454 B
C#
Raw Normal View History

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)
{
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;
}