comparison 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
comparison
equal deleted inserted replaced
7:8486ab7d2357 8:052aa62cb42a
16 16
17 public DateTime StartTime { get; set; } 17 public DateTime StartTime { get; set; }
18 18
19 public DateTime EndTime { get; set; } 19 public DateTime EndTime { get; set; }
20 20
21 public bool Failed => CheckStatus != CheckStatus.Success; 21 public bool Failed => CheckStatus.In(CheckStatus.Error, CheckStatus.Warning, CheckStatus.Information);
22 22
23 public FailAction FailAction 23 public FailAction FailAction
24 { 24 {
25 get 25 get
26 { 26 {