FicsitRemoteMonitoring icon indicating copy to clipboard operation
FicsitRemoteMonitoring copied to clipboard

[Suggestion] Show current destination in timetable by index

Open saffronjam opened this issue 3 months ago • 1 comments

Hi,

Is it possible to show the next destination for a train by an index rather than a name?

There are scenarios where going to the same train station twice in a time table is necessary, but with the current data structure, it is ambiguous where in the time table a train is.

For example: Currently it is not possible to know if the train is heading to station2 or station3 afterwards.

    "TrainStation": "station1",
    "TimeTable": [
      {
        "StationName": "station1"
      },
      {
        "StationName": "station2"
      },
      {
        "StationName": "station1"
      },
      {
        "StationName": "station3"
      }
    ],  

It would be solved by something like this:

    "CurrentTimeTableIndex": 2,
    "TimeTable": [
      {
        "StationName": "station1"
      },
      {
        "StationName": "station2"
      },
      {
        "StationName": "station1"
      },
      {
        "StationName": "station3"
      }
    ],  

If UE allows it, maybe we could even show some form of percentage to the destination? That would be really cool

    "CurrentTimeTableIndex": 2,
    "DestinationProgress": "59%",
    "TimeTable": [
      {
        "StationName": "station1"
      },
      {
        "StationName": "station2"
      },
      {
        "StationName": "station1"
      },
      {
        "StationName": "station3"
      }
    ],  

saffronjam avatar Nov 21 '24 21:11 saffronjam