2023-02-21 06:27:20 +00:00
|
|
|
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
|
|
|
|
);
|