🚧 WIP
This commit is contained in:
Vendored
+13
-13
@@ -105,14 +105,14 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
// List the devices (address-space branches) of the configured
|
||||
// server — one level, with per-device tag counts.
|
||||
"name": "opcda-diagnozer: list-devices",
|
||||
// Full structure tree of the configured server: every branch
|
||||
// AND every tag in place, whole subtree.
|
||||
"name": "opcda-diagnozer: list-items (whole tree)",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"python": "${workspaceFolder}/.venv/Scripts/python.exe",
|
||||
"module": "opcda_diagnozer",
|
||||
"args": ["list-devices", "--config", "config.example.yaml"],
|
||||
"args": ["list-items", "all", "--depth", "0", "--config", "config.example.yaml"],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"console": "integratedTerminal",
|
||||
"justMyCode": false,
|
||||
@@ -121,20 +121,20 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
// List the tags of one device (whole subtree) as JSON — the
|
||||
// item_id values are what go into config `tags:`. Adjust the
|
||||
// device path to the server your config points at.
|
||||
"name": "opcda-diagnozer: list-tags (recursive, JSON)",
|
||||
// Flat ItemID list of one subtree as JSON — the item_id values
|
||||
// are what go into config `tags:`. Adjust the branch path to the
|
||||
// server your config points at.
|
||||
"name": "opcda-diagnozer: list-items tags (JSON)",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"python": "${workspaceFolder}/.venv/Scripts/python.exe",
|
||||
"module": "opcda_diagnozer",
|
||||
"args": [
|
||||
"list-tags",
|
||||
"--config", "config.example.yaml",
|
||||
"Simulation Items.Bucket Brigade",
|
||||
"--recursive",
|
||||
"--json"
|
||||
"list-items",
|
||||
"tags",
|
||||
"--branch", "Simulation Items.Bucket Brigade",
|
||||
"--json",
|
||||
"--config", "config.example.yaml"
|
||||
],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"console": "integratedTerminal",
|
||||
|
||||
Reference in New Issue
Block a user