adjust properties
This commit is contained in:
parent
faa0eab16e
commit
05c1ca107e
@ -8,6 +8,8 @@
|
|||||||
public string Schedules { get; set; }
|
public string Schedules { get; set; }
|
||||||
public string Impact { get; set; }
|
public string Impact { get; set; }
|
||||||
|
|
||||||
public bool IsInService => !Impact.Contains("No Service", StringComparison.OrdinalIgnoreCase);
|
public bool NoService => Impact.Contains("No Service", StringComparison.OrdinalIgnoreCase);
|
||||||
|
public bool IsAmAffected => Schedules.Contains("AM", StringComparison.OrdinalIgnoreCase);
|
||||||
|
public bool IsPmAffected => Schedules.Contains("PM", StringComparison.OrdinalIgnoreCase);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user