mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-13 20:47:04 +00:00
Merge branch 'main' into hotfix/ComsMessageQueue-throws-exception
This commit is contained in:
commit
4814d0f769
1 changed files with 23 additions and 19 deletions
|
|
@ -64,7 +64,7 @@ namespace PepperDash.Essentials.Core
|
|||
initialStatus = MonitorStatus.InWarning;
|
||||
prefix = "2:";
|
||||
}
|
||||
else if (InWarning.Count() > 0)
|
||||
else if (IsOk.Count() > 0)
|
||||
initialStatus = MonitorStatus.IsOk;
|
||||
else
|
||||
initialStatus = MonitorStatus.StatusUnknown;
|
||||
|
|
@ -88,6 +88,10 @@ namespace PepperDash.Essentials.Core
|
|||
}
|
||||
Message = sb.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
Message = "Room Ok.";
|
||||
}
|
||||
|
||||
// Want to fire even if status doesn't change because the message may.
|
||||
Status = initialStatus;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue