add Salimax error handle to exchange battery

This commit is contained in:
Yinyin Liu 2024-06-18 13:50:14 +02:00
parent d34a1c287b
commit 55adb0449a
1 changed files with 1 additions and 1 deletions

View File

@ -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";