2018-08-13 12:32:04 -04:00
|
|
|
#!/usr/bin/env python3
|
2019-11-08 15:51:44 -05:00
|
|
|
from common import doors
|
2019-11-08 14:46:23 -05:00
|
|
|
|
2018-08-13 12:32:04 -04:00
|
|
|
def forEachDoor(fxn):
|
2018-08-16 14:01:42 -04:00
|
|
|
for door in doors.values():
|
|
|
|
print(door.name)
|
|
|
|
fxn(door)
|
2018-08-13 12:32:04 -04:00
|
|
|
|
2018-08-16 14:01:42 -04:00
|
|
|
#forEachDoor(lambda door: door.sendCardFormat("A901146A-244", 1, 244))
|
|
|
|
#forEachDoor(lambda door: door.sendSchedules())
|