2023-11-02 21:57:28 +00:00
|
|
|
import sys
|
|
|
|
sys.path.insert(0, '../../otime')
|
|
|
|
import otime
|
|
|
|
|
|
|
|
def main():
|
|
|
|
event = otime.Event(0, 'TEEEST', start_time=None, end_time=None,organiser='Tygbe')
|
|
|
|
event.read_ttime_cnf('tt.cnf')
|
|
|
|
event.read_ttime_db('db.csv')
|
|
|
|
event.read_mtr_file('mtr.csv')
|
2023-11-05 16:32:04 +00:00
|
|
|
print(event.get_runner_status('28130'))
|
2023-11-03 17:42:30 +00:00
|
|
|
print(event.get_result())
|
|
|
|
event.create_start_list_pdf('output/result.pdf')
|
2023-11-05 16:32:04 +00:00
|
|
|
|
2023-11-02 21:57:28 +00:00
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|