12 lines
329 B
C#
12 lines
329 B
C#
|
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
|
||
|
|
||
|
public abstract record Phase
|
||
|
(
|
||
|
Decimal Voltage,
|
||
|
Decimal Current
|
||
|
);
|