2012-07-04 20:44:53 -03:00
|
|
|
|
|
|
|
class Parameter(object):
|
|
|
|
def __init__(self, name):
|
|
|
|
self.name = name
|
2016-07-31 07:22:06 -03:00
|
|
|
|
2012-07-04 20:44:53 -03:00
|
|
|
|
|
|
|
class Vehicle(object):
|
2016-07-31 07:22:06 -03:00
|
|
|
def __init__(self, name, path):
|
2012-07-04 20:44:53 -03:00
|
|
|
self.name = name
|
|
|
|
self.path = path
|
|
|
|
self.params = []
|
2016-07-31 07:22:06 -03:00
|
|
|
|
|
|
|
|
2012-07-04 20:44:53 -03:00
|
|
|
class Library(object):
|
2016-07-31 07:22:06 -03:00
|
|
|
def __init__(self, name):
|
2012-07-04 20:44:53 -03:00
|
|
|
self.name = name
|
|
|
|
self.params = []
|
2016-07-31 07:22:06 -03:00
|
|
|
|
2012-07-04 20:44:53 -03:00
|
|
|
known_param_fields = [
|
|
|
|
'Description',
|
|
|
|
'DisplayName',
|
|
|
|
'Values',
|
|
|
|
'Range',
|
|
|
|
'Units',
|
|
|
|
'Increment',
|
2015-05-29 03:35:33 -03:00
|
|
|
'User',
|
2015-06-04 21:19:26 -03:00
|
|
|
'RebootRequired',
|
2016-02-28 19:35:40 -04:00
|
|
|
'Bitmask',
|
|
|
|
'Volatile',
|
2016-07-31 07:22:06 -03:00
|
|
|
'ReadOnly',
|
2012-07-04 21:42:38 -03:00
|
|
|
]
|
|
|
|
|
2013-05-21 04:01:13 -03:00
|
|
|
required_param_fields = [
|
|
|
|
'Description',
|
|
|
|
'DisplayName',
|
2016-07-31 07:22:06 -03:00
|
|
|
'User',
|
2013-05-21 04:01:13 -03:00
|
|
|
]
|
|
|
|
|
2012-07-04 21:42:38 -03:00
|
|
|
known_group_fields = [
|
2016-07-31 07:22:06 -03:00
|
|
|
'Path',
|
2013-05-21 04:01:13 -03:00
|
|
|
]
|