equal
deleted
inserted
replaced
115 return "R::%s::%s" % (config, resource) |
115 return "R::%s::%s" % (config, resource) |
116 |
116 |
117 |
117 |
118 def GetElementType(tagname): |
118 def GetElementType(tagname): |
119 words = tagname.split("::") |
119 words = tagname.split("::") |
|
120 if len(words) == 1: |
|
121 return ITEM_CONFNODE |
120 return { |
122 return { |
121 "D": ITEM_DATATYPE, |
123 "D": ITEM_DATATYPE, |
122 "P": ITEM_POU, |
124 "P": ITEM_POU, |
123 "T": ITEM_TRANSITION, |
125 "T": ITEM_TRANSITION, |
124 "A": ITEM_ACTION, |
126 "A": ITEM_ACTION, |