equal
deleted
inserted
replaced
2 # -*- coding: utf-8 -*- |
2 # -*- coding: utf-8 -*- |
3 # This file is part of Beremiz. |
3 # This file is part of Beremiz. |
4 # See COPYING file for copyrights details. |
4 # See COPYING file for copyrights details. |
5 |
5 |
6 |
6 |
7 from plcopen.XSLTModelQuery import XSLTModelQuery, _StringValue, _BoolValue, _translate_args |
7 from . XSLTModelQuery import XSLTModelQuery, _StringValue, _BoolValue, _translate_args |
8 from plcopen.types_enums import CLASS_TYPES, POU_TYPES, VAR_CLASS_INFOS |
8 from . types_enums import CLASS_TYPES, POU_TYPES, VAR_CLASS_INFOS |
9 |
9 |
10 |
10 |
11 def class_extraction(value): |
11 def class_extraction(value): |
12 class_type = CLASS_TYPES.get(value) |
12 class_type = CLASS_TYPES.get(value) |
13 if class_type is not None: |
13 if class_type is not None: |