From 62f5630ab16b5ca7dfb0f0ca24ca02069b2b4116 Mon Sep 17 00:00:00 2001 From: atef Date: Mon, 11 Mar 2024 15:55:48 +0100 Subject: [PATCH] New Battery aalarm and warning --- .../Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs b/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs index 3cfa41f9f..04ecf3e81 100644 --- a/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs +++ b/csharp/Lib/Devices/Battery48TL/Battery48TlRecord.Api.cs @@ -128,8 +128,8 @@ public partial class Battery48TlRecord { Boolean HasBit(Int16 bit) => (_AlarmFlags & 1uL << bit) > 0; - if (HasBit(0)) yield return "Tam : BMS temperature too low"; - if (HasBit(2)) yield return "TaM2 : BMS temperature too high"; + if (HasBit(0)) yield return "Tam : Ambient Temperature too low"; + if (HasBit(2)) yield return "TaM2 : Ambient Temperature too high"; if (HasBit(3) ) yield return "Tbm : Battery temperature too low"; if (HasBit(5) ) yield return "TbM2 : Battery temperature too high"; if (HasBit(7) ) yield return "VBm2 : Bus voltage too low"; @@ -152,8 +152,9 @@ public partial class Battery48TlRecord if (HasBit(31)) yield return "MID2 : String voltage unbalance too high"; if (HasBit(42)) yield return "HTFS : Heater Fuse Blown"; if (HasBit(43)) yield return "DATA : Parameters out of range"; - if (HasBit(45)) yield return "CELL2: Unbalance string voltages"; - if (HasBit(46)) yield return "HEBT : Loss of heartbeat"; + if (HasBit(45)) yield return "LMPA : Unbalance string voltages"; + if (HasBit(46)) yield return "HEBT : Loss of heartbeat"; + if (HasBit(48)) yield return "CURM : Battery charge requested after EDCH"; } [SuppressMessage("ReSharper", "StringLiteralTypo")] @@ -177,7 +178,8 @@ public partial class Battery48TlRecord if (HasBit(38)) yield return "MPMM: Midpoint wiring problem"; if (HasBit(40)) yield return "TCdi: Temperature difference between strings high"; if (HasBit(44)) yield return "LMPW : String voltages unbalance warning"; - if (HasBit(47)) yield return "TOCW : "; + if (HasBit(47)) yield return "TOCW : Top of Charge requested"; + if (HasBit(49)) yield return "BUSL : Bus lower than string"; }