You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Information_Management_System/CarRecord.py

10 lines
338 B

class CarRecord:
def __init__(self, argv):
self.car = int(argv[0])
self.car_id = int(argv[10])
self.time = argv[1]
self.geo = [float(ele) for ele in argv[2:4]]
self.hight = float(argv[4])
self.speed = float(argv[5])
self.direction = float(argv[6])
self.id = int(argv[8])