Innovenergy_trunk/csharp/Lib/StatusApi/Phases/Phase.cs

12 lines
329 B
C#
Raw Normal View History

namespace InnovEnergy.Lib.StatusApi.Phases;
/// A phase must have at least a known Voltage and Current.
/// For DC this is already enough.
/// For AC the values have to be in RMS (not amplitude or P2P)
/// Power can be inferred, P = UI
2023-02-22 13:46:36 +00:00
public abstract record Phase
(
Decimal Voltage,
Decimal Current
);