From fc79441c1038f0cf99e8d053f01d6e32d49f17c7 Mon Sep 17 00:00:00 2001 From: atef Date: Fri, 13 Feb 2026 09:41:17 +0100 Subject: [PATCH] add the tschireen relay exception --- csharp/App/SaliMax/src/SaliMaxRelays/RelaysRecordAmax.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/csharp/App/SaliMax/src/SaliMaxRelays/RelaysRecordAmax.cs b/csharp/App/SaliMax/src/SaliMaxRelays/RelaysRecordAmax.cs index b840dbeb2..d8caeb259 100644 --- a/csharp/App/SaliMax/src/SaliMaxRelays/RelaysRecordAmax.cs +++ b/csharp/App/SaliMax/src/SaliMaxRelays/RelaysRecordAmax.cs @@ -122,12 +122,17 @@ public class RelaysRecordAmax : IRelaysRecord public Boolean FiWarning => !_Regs.DigitalInput21; public Boolean FiError => !_Regs.DigitalInput23; - public Boolean K2ConnectIslandBusToGridBus + public Boolean K2ConnectIslandBusToGridBus // IMPORTANT: this should be changed to Relay22 for Tschirren installation { get => _Regs.Relay23; set => _Regs.Relay23 = value; } + public Boolean OldK2ConnectIslandBusToGridBus + { + get => _Regs.Relay23; + set => _Regs.Relay23 = value; + } public static implicit operator Amax5070Registers(RelaysRecordAmax d) => d._Regs; public static implicit operator RelaysRecordAmax(Amax5070Registers d) => new RelaysRecordAmax(d);