fix(loader): keep empty folderPath distinct in vtag ids; dedupe verify args; readme wait-seconds
This commit is contained in:
@@ -132,7 +132,7 @@ deploy** endpoint.
|
|||||||
```bash
|
```bash
|
||||||
./.venv/bin/python otopcua_uns.py populate-equipment # 3 areas / 8 lines / 40 equipment / 1036 VirtualTags
|
./.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
|
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
|
UNS folders carry the friendly **DisplayName** (`filling`); the BrowseName/NodeId
|
||||||
|
|||||||
@@ -294,7 +294,7 @@ def cmd_populate_equipment(args):
|
|||||||
eq_n += 1
|
eq_n += 1
|
||||||
for t in e["tags"]:
|
for t in e["tags"]:
|
||||||
dtype = _DTYPE_FIX.get(t["dataType"], t["dataType"])
|
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 galaxy-mirror MXAccess ref (e.g. TestMachine_001.TestDouble) is the upstream
|
||||||
# the VirtualTag mirrors. DependencyExtractor harvests the literal in ctx.GetTag(),
|
# the VirtualTag mirrors. DependencyExtractor harvests the literal in ctx.GetTag(),
|
||||||
# so the engine subscribes to exactly this path on the galaxy-mirror driver.
|
# so the engine subscribes to exactly this path on the galaxy-mirror driver.
|
||||||
|
|||||||
Reference in New Issue
Block a user