2012-07-04 20:44:53 -03:00
|
|
|
|
|
|
|
class Parameter(object):
|
|
|
|
def __init__(self, name):
|
|
|
|
self.name = name
|
|
|
|
|
|
|
|
|
|
|
|
class Vehicle(object):
|
|
|
|
def __init__ (self, name, path):
|
|
|
|
self.name = name
|
|
|
|
self.path = path
|
|
|
|
self.params = []
|
|
|
|
|
|
|
|
class Library(object):
|
2012-07-04 21:42:38 -03:00
|
|
|
def __init__ (self, name):
|
2012-07-04 20:44:53 -03:00
|
|
|
self.name = name
|
|
|
|
self.params = []
|
|
|
|
|
|
|
|
known_param_fields = [
|
|
|
|
'Description',
|
|
|
|
'DisplayName',
|
|
|
|
'Values',
|
|
|
|
'Range',
|
|
|
|
'Units',
|
|
|
|
'Increment',
|
|
|
|
'User',
|
2012-07-04 21:42:38 -03:00
|
|
|
]
|
|
|
|
|
2013-05-21 04:01:13 -03:00
|
|
|
required_param_fields = [
|
|
|
|
'Description',
|
|
|
|
'DisplayName',
|
|
|
|
'User'
|
|
|
|
]
|
|
|
|
|
2012-07-04 21:42:38 -03:00
|
|
|
known_group_fields = [
|
2013-05-21 04:01:13 -03:00
|
|
|
'Path'
|
|
|
|
]
|