From 55adb0449ab82027bfa7b735550ad65080569901 Mon Sep 17 00:00:00 2001 From: Yinyin Liu Date: Tue, 18 Jun 2024 13:50:14 +0200 Subject: [PATCH] add Salimax error handle to exchange battery --- csharp/App/Backend/Websockets/RabbitMQManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/App/Backend/Websockets/RabbitMQManager.cs b/csharp/App/Backend/Websockets/RabbitMQManager.cs index 1238aa621..6402eb671 100644 --- a/csharp/App/Backend/Websockets/RabbitMQManager.cs +++ b/csharp/App/Backend/Websockets/RabbitMQManager.cs @@ -125,7 +125,7 @@ public static class RabbitMqManager Seen = false }; Console.WriteLine("Add an alarm for installation "+installationId); // Send replace battery email to support team if this alarm is "NeedToReplaceBattery" - if (alarm.Description == "NeedToReplaceBattery") + if (alarm.Description == "NeedToReplaceBattery" || alarm.Description == "2 or more string are disabled") { Console.WriteLine("Send replace battery email to the support team for installation "+installationId); string recipient = "support@innov.energy";