Skip to content

Commit

Permalink
Merge pull request #204 from HSLdevcom/develop
Browse files Browse the repository at this point in the history
1.3.24
  • Loading branch information
mjaakko authored Jun 28, 2021
2 parents 7edad0c + 0552cb0 commit fc1cbe6
Show file tree
Hide file tree
Showing 5 changed files with 1,579 additions and 496 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>fi.hsl</groupId>
<artifactId>transitdata-common</artifactId>
<version>1.3.23</version>
<version>1.3.24</version>
<packaging>jar</packaging>
<name>Common utilities for Transitdata projects</name>
<properties>
Expand Down
5 changes: 4 additions & 1 deletion protos/internal-messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ message StopEstimate {
required int32 SchemaVersion = 1 [default = 1];
required TripInfo trip_info = 2;

required string stop_id = 3;
required string stop_id = 3; //The stop where the vehicle is scheduled to stop
required uint32 stop_sequence = 4;

enum Status {
Expand All @@ -213,6 +213,9 @@ message StopEstimate {
optional int64 scheduled_time_utc_ms = 8;
required int64 last_modified_utc_ms = 9;
optional bool observed_time = 10 [default = false]; //True if the estimated time was observed (i.e. true if the vehicle has already passed the stop)


optional string targeted_stop_id = 11; //The stop where the vehicle is targeted to stop (e.g. train using a different track than scheduled)
}

message Bulletin {
Expand Down
3 changes: 3 additions & 0 deletions protos/pubtrans-tables.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ message DOITripInfo {
required string route_id = 3;
required uint32 direction_id = 4;
required string start_time = 5;

//These fields are used for stop ID of the stop estimate
required string stop_id = 6;
optional string targeted_stop_id = 7;
}

message ROIArrival {
Expand Down
Loading

0 comments on commit fc1cbe6

Please sign in to comment.