plcopen/POUVariablesCollector.py
branchpython3
changeset 3751 a80a66ba52d6
parent 3750 f62625418bff
equal deleted inserted replaced
3750:f62625418bff 3751:a80a66ba52d6
     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: