fix DcVoltages in inverter
This commit is contained in:
parent
5f54dd602f
commit
5828498109
|
@ -10,11 +10,10 @@ namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertAc.Status;
|
||||||
public class AcDcStatus
|
public class AcDcStatus
|
||||||
{
|
{
|
||||||
public Ac3Bus Ac => Ac3Bus.FromPhasesAndFrequency(L1, L2, L3, _Self.GridFrequency);
|
public Ac3Bus Ac => Ac3Bus.FromPhasesAndFrequency(L1, L2, L3, _Self.GridFrequency);
|
||||||
public DcBus Dc => DcBus.FromVoltageCurrent(_Self.BatteryVoltage, _Self.BatteryCurrent);
|
|
||||||
public PowerLimit PowerLimitedBy => _Self.PowerLimitedBy;
|
public PowerLimit PowerLimitedBy => _Self.PowerLimitedBy;
|
||||||
public InverterStates InverterState => new(_Self);
|
public InverterStates InverterState => new(_Self);
|
||||||
public GridType ActiveGridType => _Self.ActiveGridType;
|
public GridType ActiveGridType => _Self.ActiveGridType;
|
||||||
public Voltages Voltage => new(_Self);
|
public Voltages DcVoltages => new(_Self);
|
||||||
public Temperatures Temperature => new(_Self);
|
public Temperatures Temperature => new(_Self);
|
||||||
public OverloadCapacity OverloadCapacity => new(_Self);
|
public OverloadCapacity OverloadCapacity => new(_Self);
|
||||||
public Nominals Nominal => new(_Self);
|
public Nominals Nominal => new(_Self);
|
||||||
|
|
|
@ -4,9 +4,9 @@ namespace InnovEnergy.Lib.Devices.Trumpf.TruConvertAc.Status;
|
||||||
|
|
||||||
public class ExternVoltages
|
public class ExternVoltages
|
||||||
{
|
{
|
||||||
public Voltage DcUpperHalf => _Self.ExternDcVoltageUpperHalf;
|
public Voltage UpperHalf => _Self.ExternDcVoltageUpperHalf;
|
||||||
public Voltage DcLowerHalf => _Self.ExternDcVoltageLowerHalf;
|
public Voltage LowerHalf => _Self.ExternDcVoltageLowerHalf;
|
||||||
public Voltage NToPe => _Self.ExternVoltageNToPe;
|
public Voltage NToPe => _Self.ExternVoltageNToPe;
|
||||||
|
|
||||||
internal ExternVoltages(AcDcRecord self) => _Self = self;
|
internal ExternVoltages(AcDcRecord self) => _Self = self;
|
||||||
private readonly AcDcRecord _Self;
|
private readonly AcDcRecord _Self;
|
||||||
|
|
Loading…
Reference in New Issue