Skip to content

Commit

Permalink
update service status
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute committed Apr 9, 2023
1 parent 5427d4b commit 4fb9157
Show file tree
Hide file tree
Showing 3 changed files with 128 additions and 106 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>dev.katsute</groupId>
<artifactId>onemta</artifactId>
<version>2.0.1</version>
<version>2.0.2</version>

<profiles>
<profile>
Expand Down
30 changes: 16 additions & 14 deletions protobuf/gtfs-realtime-service-status.proto
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,22 @@ message MercuryEntitySelector {
PRIORITY_PLANNED_SUBSTITUTE_BUSES = 24;
PRIORITY_PLANNED_PART_SUSPENDED = 25;
PRIORITY_PLANNED_MULTIPLE_CHANGES = 26;
PRIORITY_SOME_DELAYS = 27;
PRIORITY_STATIONS_SKIPPED = 28;
PRIORITY_EXPRESS_TO_LOCAL = 29;
PRIORITY_DELAYS = 30;
PRIORITY_SOME_REROUTES = 31;
PRIORITY_LOCAL_TO_EXPRESS = 32;
PRIORITY_BUSES_DETOURED = 33;
PRIORITY_SERVICE_CHANGE = 34;
PRIORITY_TRAINS_REROUTED = 35;
PRIORITY_SUBSTITUTE_BUSES = 36;
PRIORITY_PART_SUSPENDED = 37;
PRIORITY_MULTIPLE_CHANGES = 38;
PRIORITY_PLANNED_SUSPENDED = 39;
PRIORITY_SUSPENDED = 40;
PRIORITY_ARRIVAL_INFORMATION_OUTAGE = 27;
PRIORITY_SHUTTLE_BUSES_DETOURED = 28;
PRIORITY_SOME_DELAYS = 29;
PRIORITY_STATIONS_SKIPPED = 30;
PRIORITY_EXPRESS_TO_LOCAL = 31;
PRIORITY_DELAYS = 32;
PRIORITY_SOME_REROUTES = 33;
PRIORITY_LOCAL_TO_EXPRESS = 34;
PRIORITY_BUSES_DETOURED = 35;
PRIORITY_SERVICE_CHANGE = 36;
PRIORITY_TRAINS_REROUTED = 37;
PRIORITY_SUBSTITUTE_BUSES = 38;
PRIORITY_PART_SUSPENDED = 39;
PRIORITY_MULTIPLE_CHANGES = 40;
PRIORITY_PLANNED_SUSPENDED = 41;
PRIORITY_SUSPENDED = 42;
}

// Format for sort_order is 'GTFS-ID:Priority', e.g. 'MTASBWY:G:16'
Expand Down
202 changes: 111 additions & 91 deletions src/main/java/dev/katsute/onemta/ServiceStatusProto.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4fb9157

Please sign in to comment.