add Salimax error handle to exchange battery
This commit is contained in:
parent
d34a1c287b
commit
55adb0449a
|
@ -125,7 +125,7 @@ public static class RabbitMqManager
|
||||||
Seen = false
|
Seen = false
|
||||||
}; Console.WriteLine("Add an alarm for installation "+installationId);
|
}; Console.WriteLine("Add an alarm for installation "+installationId);
|
||||||
// Send replace battery email to support team if this alarm is "NeedToReplaceBattery"
|
// 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);
|
Console.WriteLine("Send replace battery email to the support team for installation "+installationId);
|
||||||
string recipient = "support@innov.energy";
|
string recipient = "support@innov.energy";
|
||||||
|
|
Loading…
Reference in New Issue