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

8 lines
239 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 DcConnection(Decimal Voltage, Decimal Current) : Phase(Voltage, Current)
{
public Decimal Power => (Current * Voltage).Round3();
}