1
0
mirror of https://github.com/FreeOpcUa/opcua-asyncio synced 2025-10-29 17:07:18 +08:00

Support pre 1.04 struct length fields for B&R

This commit is contained in:
thegart
2025-04-30 09:15:35 +02:00
committed by oroulet
parent 5b1091795d
commit 97095b909c

View File

@@ -143,6 +143,9 @@ class StructGenerator:
if name.startswith("__") and name.endswith("Length"):
# Codesys syntax
return True
if name.startswith("#"):
# BR syntax
return True
return False
def _make_model(self, root):