Innovenergy_trunk/csharp/lib/StatusApi/Connections/DcConnection.cs

9 lines
229 B
C#

using InnovEnergy.Lib.StatusApi.Phases;
namespace InnovEnergy.Lib.StatusApi.Connections;
public record DcConnection(Decimal Voltage, Decimal Current) : Phase(Voltage, Current)
{
public Decimal Power => Current * Voltage;
}