connect elevators and add ctypes elevator_up and elevator_down
This commit is contained in:
parent
6b0d3aeac2
commit
8a1f8bb290
6 changed files with 72 additions and 10 deletions
|
@ -27,11 +27,10 @@ class Route:
|
|||
if point.level and point.level != level:
|
||||
routeparts.append(RoutePart(level, connections))
|
||||
level = point.level
|
||||
connections = []
|
||||
connections = [connection]
|
||||
|
||||
if connections:
|
||||
routeparts.append(RoutePart(level, connections))
|
||||
print(routeparts)
|
||||
return tuple(routeparts)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue