Mercurial Hosting > traffic-intelligence
changeset 465:16fe64136506
added dictionary
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 27 Feb 2014 03:30:28 -0500 |
parents | dcc821b98efc |
children | e891a41c6c75 |
files | python/pavement.py |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/python/pavement.py Sun Feb 23 23:18:08 2014 -0500 +++ b/python/pavement.py Thu Feb 27 03:30:28 2014 -0500 @@ -7,6 +7,12 @@ __metaclass__ = type +paintTypes = {0: "Non-existant", + 1: "Eau", + 2: "Epoxy", + 3: "Alkyde", + 4: "Autre"} + durabilities = {1: 98, #96 to 100 2: 85, #75 to 96 3: 72, #50 to 75 @@ -25,8 +31,7 @@ 15: "Aut (PRN)", 25: "Nat (PRN)", 70: "Acces isolees", - 99: "Autres" - } + 99: "Autres"} def caracteristiques(rtss, maintenanceLevel, rtssWeatherStation, fmr, paintType): '''Computes characteristic data for the RTSS (class rtss)