diff --git a/otopcua-uns-loader/README.md b/otopcua-uns-loader/README.md index 45ffdb7..6995af9 100644 --- a/otopcua-uns-loader/README.md +++ b/otopcua-uns-loader/README.md @@ -132,7 +132,7 @@ deploy** endpoint. ```bash ./.venv/bin/python otopcua_uns.py populate-equipment # 3 areas / 8 lines / 40 equipment / 1036 VirtualTags curl -s -X POST http://localhost:9200/api/deployments -H 'X-Api-Key: docker-dev-deploy-key' # headless deploy -./.venv/bin/python otopcua_uns.py verify-equipment --expect 1036 --require-good 1036 --wait # structure + live values +./.venv/bin/python otopcua_uns.py verify-equipment --expect 1036 --require-good 1036 --wait --wait-seconds 300 # structure + live values ``` UNS folders carry the friendly **DisplayName** (`filling`); the BrowseName/NodeId diff --git a/otopcua-uns-loader/otopcua_uns.py b/otopcua-uns-loader/otopcua_uns.py index 6823907..7cac5b1 100644 --- a/otopcua-uns-loader/otopcua_uns.py +++ b/otopcua-uns-loader/otopcua_uns.py @@ -294,7 +294,7 @@ def cmd_populate_equipment(args): eq_n += 1 for t in e["tags"]: dtype = _DTYPE_FIX.get(t["dataType"], t["dataType"]) - folder = t.get("folderPath") or None + folder = t.get("folderPath") # The galaxy-mirror MXAccess ref (e.g. TestMachine_001.TestDouble) is the upstream # the VirtualTag mirrors. DependencyExtractor harvests the literal in ctx.GetTag(), # so the engine subscribes to exactly this path on the galaxy-mirror driver.