2022-09-14 20:26:19 +00:00
|
|
|
|
namespace BinaryDad.AacpsBusAlert
|
|
|
|
|
{
|
|
|
|
|
public class BusRoute
|
|
|
|
|
{
|
|
|
|
|
public int BusNumber { get; set; }
|
|
|
|
|
public int SubBusNumber { get; set; }
|
|
|
|
|
public string Schools { get; set; }
|
|
|
|
|
public string Schedules { get; set; }
|
|
|
|
|
public string Impact { get; set; }
|
2022-09-14 23:41:09 +00:00
|
|
|
|
|
2022-09-14 23:55:47 +00:00
|
|
|
|
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);
|
2022-09-14 20:26:19 +00:00
|
|
|
|
}
|
|
|
|
|
}
|