added one more class in transport
This commit is contained in:
parent
77d1c01755
commit
70c020ee77
|
@ -14,6 +14,7 @@ from city_model_structure.transport.join_exclude import JoinExclude
|
||||||
from city_model_structure.transport.edge import Edge
|
from city_model_structure.transport.edge import Edge
|
||||||
from city_model_structure.transport.roundabout import Roundabout
|
from city_model_structure.transport.roundabout import Roundabout
|
||||||
from city_model_structure.transport.connection import Connection
|
from city_model_structure.transport.connection import Connection
|
||||||
|
from city_model_structure.transport.prohibition import Prohibition
|
||||||
from city_model_structure.transport.crossing import Crossing
|
from city_model_structure.transport.crossing import Crossing
|
||||||
from city_model_structure.transport.walking_area import WalkingArea
|
from city_model_structure.transport.walking_area import WalkingArea
|
||||||
from city_model_structure.transport.traffic_light_logic import TrafficLightLogic
|
from city_model_structure.transport.traffic_light_logic import TrafficLightLogic
|
||||||
|
@ -114,6 +115,17 @@ class TrafficNetwork(CityObject):
|
||||||
"""
|
"""
|
||||||
self._connections = value
|
self._connections = value
|
||||||
|
|
||||||
|
@property
|
||||||
|
def prohibitions(self) -> List[Prohibition]:
|
||||||
|
return self._prohibitions
|
||||||
|
|
||||||
|
@prohibitions.setter
|
||||||
|
def prohibitions(self, value):
|
||||||
|
"""
|
||||||
|
:param value: [Prohibition]
|
||||||
|
"""
|
||||||
|
self._prohibitions = value
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def crossings(self) -> List[Crossing]:
|
def crossings(self) -> List[Crossing]:
|
||||||
return self._crossings
|
return self._crossings
|
||||||
|
|
Loading…
Reference in New Issue
Block a user