diff ServerMonitor/Objects/CheckResult.cs @ 8:052aa62cb42a

Single instance. Add autorun option. Add icons. General enhancements.
author Brad Greco <brad@bgreco.net>
date Sat, 09 Mar 2019 20:14:03 -0500
parents 3142e52cbe69
children 68d7834dc28e
line wrap: on
line diff
--- a/ServerMonitor/Objects/CheckResult.cs	Fri Mar 01 21:39:22 2019 -0500
+++ b/ServerMonitor/Objects/CheckResult.cs	Sat Mar 09 20:14:03 2019 -0500
@@ -18,7 +18,7 @@
 
         public DateTime EndTime { get; set; }
 
-        public bool Failed => CheckStatus != CheckStatus.Success;
+        public bool Failed => CheckStatus.In(CheckStatus.Error, CheckStatus.Warning, CheckStatus.Information);
 
         public FailAction FailAction
         {