Stop using units as part of input key, they are not going to be different anyway

This commit is contained in:
DarkPhoenix
2019-06-26 21:39:12 +03:00
parent 9b282587b2
commit 7ef79eaa79
3 changed files with 22 additions and 25 deletions

View File

@@ -117,7 +117,7 @@ class Graph(metaclass=ABCMeta):
YDef = namedtuple('YDef', ('handle', 'unit', 'label', 'eosGraph'))
XDef = namedtuple('XDef', ('handle', 'unit', 'label', 'mainInput'))
Input = namedtuple('Input', ('handle', 'unit', 'label', 'iconID', 'defaultValue', 'defaultRange', 'mainOnly'))
VectorDef = namedtuple('VectorDef', ('lengthHandle', 'lengthUnit', 'angleHandle', 'angleUnit', 'label'))
VectorDef = namedtuple('VectorDef', ('lengthHandle', 'angleHandle', 'label'))
# noinspection PyUnresolvedReferences