Remove InvertersAreConnectedToAc enum. no longer used.
This commit is contained in:
parent
ba8bce65bd
commit
e400c11d3c
|
@ -2,20 +2,12 @@ using InnovEnergy.Lib.Devices.Adam6360D;
|
|||
|
||||
namespace InnovEnergy.App.SaliMax.SaliMaxRelays;
|
||||
|
||||
public enum InvertersAreConnectedToAc
|
||||
{
|
||||
None,
|
||||
Some,
|
||||
All
|
||||
}
|
||||
|
||||
public class RelaysRecord
|
||||
{
|
||||
private readonly Adam6360DRegisters _Regs;
|
||||
|
||||
public RelaysRecord(Adam6360DRegisters regs) => _Regs = regs;
|
||||
|
||||
|
||||
public Boolean K1GridBusIsConnectedToGrid => _Regs.DigitalInput6;
|
||||
public Boolean K2IslandBusIsConnectedToGridBus => !_Regs.DigitalInput4;
|
||||
|
||||
|
@ -44,11 +36,4 @@ public class RelaysRecord
|
|||
public static implicit operator Adam6360DRegisters(RelaysRecord d) => d._Regs;
|
||||
public static implicit operator RelaysRecord(Adam6360DRegisters d) => new RelaysRecord(d);
|
||||
|
||||
//
|
||||
// public HighActivePinState F1Inverter1 => _Regs.DigitalInput8.ConvertTo<HighActivePinState>(); // 1 = Closed , 0 = open
|
||||
// public HighActivePinState F2Inverter2 => _Regs.DigitalInput9.ConvertTo<HighActivePinState>(); // 1 = Closed , 0 = open
|
||||
// public HighActivePinState F3Inverter3 => _Regs.DigitalInput10.ConvertTo<HighActivePinState>(); // 1 = Closed , 0 = open
|
||||
// public HighActivePinState F4Inverter4 => _Regs.DigitalInput11.ConvertTo<HighActivePinState>(); // 1 = Closed , 0 = open
|
||||
//
|
||||
// public HighActivePinState Di12 => _Regs.DigitalInput12.ConvertTo<HighActivePinState>();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue