Changeset 622 in tmcsimulator for branches/LCSv2/models


Ignore:
Timestamp:
08/21/2020 12:19:51 PM (6 years ago)
Author:
jdalbey
Message:

LCS implement closed lane checkboxes

Location:
branches/LCSv2/models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/LCSv2/models/db.py

    r620 r622  
    1616                Field('endlocation'), 
    1717                Field('closuretype'), 
     18                Field('closedlanes'), 
    1819                Field('worktype'), 
    1920                Field('estdelay'), 
  • branches/LCSv2/models/db.py.bak

    r620 r622  
    6969                Field('radiocallnum') 
    7070                ) 
    71 db.supervisors.truncate() # delete all records and reset the counter of the id. 
    72 db.supervisors.import_from_csv_file(open('crew.csv', 'r')) #import the file 
     71db.crew.truncate() # delete all records and reset the counter of the id. 
     72db.crew.import_from_csv_file(open('crew.csv', 'r')) #import the file 
Note: See TracChangeset for help on using the changeset viewer.