Skip to content

Commit b13e49c

Browse files
authored
Merge pull request #662 from FlorianMueller87/feature/adding_day_of_the_month_to_TrafficSign_Value_Unit
Add DAY to TrafficSign-Value-Unit and change DAY to WEEKDAY
2 parents 88373c7 + 96f9f48 commit b13e49c

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

osi_trafficsign.proto

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,31 @@ message TrafficSignValue
101101
// Unit: tn. sh.
102102
//
103103
UNIT_SHORT_TON = 11;
104+
105+
// Time of day.
106+
// Hours since midnight. Starting with 0.
107+
//
108+
// Unit: h
109+
//
110+
UNIT_HOUR = 15;
104111

105112
// Time of day.
106-
// Hour since midnight.
113+
// Minutes since last hour. Starting with 0.
107114
//
108115
// Unit: min
109116
//
110117
UNIT_MINUTES = 12;
118+
119+
// Day of the month.
120+
// Starting with 1.
121+
//
122+
UNIT_DAY_OF_MONTH = 16;
111123

112124
// Day of the week.
113125
// Days since Monday. Monday = 0; Tuesday = 1; ...
114126
//
127+
// \note For consistency this field will be renamed to UNIT_DAY_OF_WEEK in v4.0.0 .
128+
//
115129
UNIT_DAY = 13;
116130

117131
// Percentage.
@@ -120,6 +134,24 @@ message TrafficSignValue
120134
// Unit: %
121135
//
122136
UNIT_PERCENTAGE = 14;
137+
138+
// Duration in days.
139+
//
140+
// Unit: day
141+
//
142+
UNIT_DURATION_DAY = 17;
143+
144+
// Duration in hours.
145+
//
146+
// Unit: h
147+
//
148+
UNIT_DURATION_HOUR = 18;
149+
150+
// Duration in minutes.
151+
//
152+
// Unit: min
153+
//
154+
UNIT_DURATION_MINUTE = 19;
123155
}
124156

125157
// Text associated with a sign, e.g. the name of a location whose distance

0 commit comments

Comments
 (0)