using InnovEnergy.Lib.StatusApi.Phases; namespace InnovEnergy.Lib.StatusApi.Connections; public class ThreePhaseAcConnection { public static ThreePhaseAcConnection Null { get; } = new ThreePhaseAcConnection(); public AcPhase L1 { get; init; } = AcPhase.Null; public AcPhase L2 { get; init; } = AcPhase.Null; public AcPhase L3 { get; init; } = AcPhase.Null; public Decimal Frequency { get; init; } public Decimal ApparentPower => L1.ApparentPower + L2.ApparentPower + L3.ApparentPower; public Decimal ReactivePower => L1.ReactivePower + L2.ReactivePower + L3.ReactivePower; public Decimal ActivePower => L1.ActivePower + L2.ActivePower + L3.ActivePower; }