* Initial plan * Initial project setup - update to .NET 8.0 for compatibility Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> * Complete SBB transport integration implementation Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> * Revert to .NET 9 and separate transport info into ShiftTransport class Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> * Make safety buffer minutes configurable via appsettings Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> * Migrade pdf export service * Update gitignore * Implement new approach: real-time transport data per shift selection with ShiftWithTransport view model Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> * Refactor export methods to directly use ShiftWithTransport instead of converting to separate parameters Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> * Move ShiftWithTransport class to its own file Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> * Code cleanup * Fix transport timing logic to respect safety buffer and find best available connections Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: clayschaad <11883505+clayschaad@users.noreply.github.com> Co-authored-by: clayschaad <c.schaad@pog.ch> Co-authored-by: Claudio Schaad <clayschaad@users.noreply.github.com>
49 lines
912 B
JSON
49 lines
912 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
"Transport": {
|
|
"StartStation": "Zurich",
|
|
"EndStation": "Basel",
|
|
"ApiBaseUrl": "http://transport.opendata.ch/v1",
|
|
"SafetyBufferMinutes": 30
|
|
},
|
|
|
|
"Shifts": [
|
|
{
|
|
"Name": "Frei",
|
|
"Icon": "⚫",
|
|
"MorningTime": "",
|
|
"AfternoonTime": ""
|
|
},
|
|
{
|
|
"Name": "Urlaub",
|
|
"Icon": "🌴",
|
|
"MorningTime": "",
|
|
"AfternoonTime": ""
|
|
},
|
|
{
|
|
"Name": "Früh",
|
|
"Icon": "🌅",
|
|
"MorningTime": "06:00-14:00",
|
|
"AfternoonTime": ""
|
|
},
|
|
{
|
|
"Name": "Spät",
|
|
"Icon": "🌆",
|
|
"MorningTime": "",
|
|
"AfternoonTime": "14:00-22:00"
|
|
},
|
|
{
|
|
"Name": "Tag",
|
|
"Icon": "☀️",
|
|
"MorningTime": "08:00-12:00",
|
|
"AfternoonTime": "13:00-17:00"
|
|
}
|
|
]
|
|
}
|