mobilist / ametro

Automatically exported from code.google.com/p/ametro
0 stars 0 forks source link

Санкт-Петербург. Время маршрута от Балтайской до Московских ворот неправильно #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Выбор Питера вы картах
2. Выбор маршрута от Балтайской до 
Московских ворот
3. Показывается 7 секунд

What is the expected output? What do you see instead?
Ожидается время около 14 минут (pmetro). На деле 
выходит несколько секунд.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by G.Glaur...@gmail.com on 9 Aug 2010 at 8:20

GoogleCodeExporter commented 9 years ago
формат отображения времени - ЧЧ:ММ.
так что расcчетное время - 7 минут. 
причина несовпадения с pMetro изучается

Original comment by Roman.Go...@gmail.com on 23 Aug 2010 at 9:42

GoogleCodeExporter commented 9 years ago
без учета времени ожидания pMetro дает 
прогноз 8 минут. Ошибку закрываю, совпадает 
с " Issue 89: Откябрьское поле - Царицыно. Время 
маршрута от времени суток считается 
неправильно"

Original comment by Roman.Go...@gmail.com on 23 Aug 2010 at 9:51

GoogleCodeExporter commented 9 years ago
Округление поставь в большую сторону. 
Сейчас у тебя просто округляется:
Без учета - 7,4  > 8
День - 13,4  > 14
Ночь - 18,4 > 19

Original comment by G.Glaur...@gmail.com on 23 Aug 2010 at 4:14

GoogleCodeExporter commented 9 years ago
fixed in 0.4.0

Original comment by Roman.Go...@gmail.com on 24 Aug 2010 at 2:32

GoogleCodeExporter commented 9 years ago
Проверил

Original comment by G.Glaur...@gmail.com on 24 Aug 2010 at 6:02