Mercurial Hosting > traffic-intelligence
diff python/events.py @ 408:365d8dee44f3
last changes for TRB14
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 13 Aug 2013 23:36:45 -0400 |
parents | 6e0dedd34920 |
children | fb3654a9127d |
line wrap: on
line diff
--- a/python/events.py Mon Aug 12 22:50:42 2013 -0400 +++ b/python/events.py Tue Aug 13 23:36:45 2013 -0400 @@ -39,7 +39,7 @@ indicatorNameToIndices = utils.inverseEnumeration(indicatorNames) indicatorShortNames = ['CCDP', - 'CCAng', + 'CCA', 'Dist', 'MinDist', 'VA', @@ -49,6 +49,17 @@ 'P(SEA)', 'pPET'] + indicatorUnits = ['', + 'rad', + 'm', + 'm', + 'rad', + 'm/s', + '', + 's', + '', + ''] + def __init__(self, num = None, timeInterval = None, roaduserNum1 = None, roaduserNum2 = None, roadUser1 = None, roadUser2 = None, categoryNum = None): moving.STObject.__init__(self, num, timeInterval) self.roadUserNumbers = set([roaduserNum1, roaduserNum2])