Skip to content

Commit 6bafb05

Browse files
jdsikapmai
authored andcommitted
Added changes for v3.6.0
* Added DURATION_* * Added UNIT_DAY_OF_MONTH * Added UNIT_HOUR for time of day * Fixed bug in comment for UNIT_MINUTES Signed-off-by: Carlo van Driesten <carlo.van-driesten@bmw.de>
1 parent ade359d commit 6bafb05

File tree

1 file changed

+30
-9
lines changed

1 file changed

+30
-9
lines changed

osi_trafficsign.proto

+30-9
Original file line numberDiff line numberDiff line change
@@ -101,36 +101,57 @@ 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-
// Minutes since last hour.
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
//
115-
UNIT_WEEKDAY = 13;
127+
// \note For consistency this field will be renamed to UNIT_DAY_OF_WEEK in v4.0.0 .
128+
//
129+
UNIT_DAY = 13;
116130

117131
// Percentage.
118132
// Value.
119133
//
120134
// Unit: %
121135
//
122136
UNIT_PERCENTAGE = 14;
123-
124-
// Day of the month.
137+
138+
// Duration in days.
125139
//
126-
UNIT_DAY = 15;
127-
128-
// Time of day.
129-
// Hour since midnight.
140+
// Unit: day
141+
//
142+
UNIT_DURATION_DAY = 17;
143+
144+
// Duration in hours.
130145
//
131146
// Unit: h
132147
//
133-
UNIT_HOUR = 16;
148+
UNIT_DURATION_HOUR = 18;
149+
150+
// Duration in minutes.
151+
//
152+
// Unit: min
153+
//
154+
UNIT_DURATION_MINUTE = 19;
134155
}
135156

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

0 commit comments

Comments
 (0)