From a304c24b32c0327436bbd8c2853e60668e161b42 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 29 Dec 2025 00:41:52 +0100 Subject: Rename a lot of stuff, add Santiago real time --- .../Views/Services/ServicesInDay.cshtml.cs | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs (limited to 'src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs') diff --git a/src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs b/src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs deleted file mode 100644 index b0c57c3..0000000 --- a/src/Costasdev.Busurbano.ServiceViewer/Views/Services/ServicesInDay.cshtml.cs +++ /dev/null @@ -1,39 +0,0 @@ -using Costasdev.ServiceViewer.Data.Gtfs; - -namespace Costasdev.ServiceViewer.Views.Services; - -public class ServiceInDayModel -{ - public List Items { get; set; } = []; - public DateOnly Date { get; set; } -} - -public class ServicesInDayItem -{ - public string ServiceId { get; set; } - public string ServiceName { get; set; } - public List Trips { get; set; } - public List TripGroups { get; set; } - - public string ShiftStart { get; set; } - public string ShiftEnd { get; set; } - - public ServicesInDayItem( - string serviceId, - string serviceName, - List trips, - List tripGroups, - string shiftStart, - string shiftEnd - ) { - ServiceId = serviceId; - ServiceName = serviceName; - Trips = trips; - TripGroups = tripGroups; - - ShiftStart = shiftStart; - ShiftEnd = shiftEnd; - } -} - -public record TripGroup(GtfsRoute route, int count); -- cgit v1.3