from road_vehicle import LivestockHauler, DieselRoadVehicle

consist = LivestockHauler(id='swineshead_livestock',
                          base_numeric_id=440,
                          name='Swineshead',
                          vehicle_life=40,
                          intro_date=1970)

consist.add_unit(type=DieselRoadVehicle,
                 capacity=25,
                 vehicle_length=6)

consist.add_unit(capacity=15,
                 vehicle_length=4)
