docs(m9): mark M9 delivered + sync TemplateEngine/TreeView/DataConnection/schema-library/CLI docs
- 2026-06-15-stillpending-completion-design.md: M9 section marked DELIVERED with per-feature summary and deferrals (folder drag-drop, unified outbox page). - stillpending.md: T22–T26/T28/T30–T32 + CLI cached-call marked [DELIVERED M9]; permanent deferrals (folder drag-drop, unified outbox page) retained as [PERM]. - Component-TemplateEngine.md: TemplateFolder SortOrder + ReorderTemplateFolderCommand; Expression-trigger analysisKind (Advisory/Strict) on Alarm + Script; Script parameter JSON Schema / lib: ref note; Inheritance Resolve authoring section (GetResolvedTemplateMembersCommand / TemplateInheritanceResolver / staleness banner); updated Responsibilities. - Component-TreeView.md: T22 search box wired note; T23 folder sibling reorder + root context menu note; drag-drop permanently deferred clarified in V7 worked example. - Component-CentralUI.md: template tree search + inherited-members panel (T26 staleness banner) added to Template Authoring; drag-drop permanently deferred note; Schema Library page (T32) added as new subsection; ParameterValueForm + Monaco hover (T30/T31) noted; connection live-status (T25) + move-connection (T24) added to Site & Data Connection Management. - Component-ConfigurationDatabase.md: SharedSchema entity + ISharedSchemaRepository row added. - Component-CLI.md: --trigger-kind option added to template alarm add/update and script add/update. - src/ZB.MOM.WW.ScadaBridge.CLI/README.md: --trigger-kind option added to template alarm add/update and template script add/update command tables (already had cached-call group).
This commit is contained in:
@@ -226,7 +226,7 @@ scadabridge --url <url> template attribute delete --id <int>
|
||||
Add an alarm definition to a template.
|
||||
|
||||
```sh
|
||||
scadabridge --url <url> template alarm add --template-id <int> --name <string> --trigger-type <string> --priority <int> [--description <string>] [--trigger-config <json>] [--locked] [typed-setpoint-flags]
|
||||
scadabridge --url <url> template alarm add --template-id <int> --name <string> --trigger-type <string> --priority <int> [--description <string>] [--trigger-config <json>] [--locked] [--trigger-kind <kind>] [typed-setpoint-flags]
|
||||
```
|
||||
|
||||
| Option | Required | Description |
|
||||
@@ -238,6 +238,7 @@ scadabridge --url <url> template alarm add --template-id <int> --name <string> -
|
||||
| `--description` | no | Description |
|
||||
| `--trigger-config` | no | Trigger configuration as a JSON string (overrides typed flags when both are supplied) |
|
||||
| `--locked` | no | Lock the alarm in derived templates |
|
||||
| `--trigger-kind` | no | Expression-trigger analysis kind: `advisory` (default — non-blocking advisory finding on a blank expression) or `strict` (blank expression is a deploy-blocking error). Ignored for non-`Expression` trigger types. |
|
||||
| `--attribute` | no | Attribute name the trigger watches (all trigger types except `Expression`) |
|
||||
| `--match-value` | no | `ValueMatch`: value to compare against |
|
||||
| `--not-equals` | no | `ValueMatch`: match when the value is NOT equal |
|
||||
@@ -258,7 +259,7 @@ Update an alarm definition on a template. An update **replaces** the whole entit
|
||||
required field below must be supplied with its post-update value, even if unchanged.
|
||||
|
||||
```sh
|
||||
scadabridge --url <url> template alarm update --id <int> --name <string> --trigger-type <string> --priority <int> [--description <string>] [--trigger-config <json>] [--locked]
|
||||
scadabridge --url <url> template alarm update --id <int> --name <string> --trigger-type <string> --priority <int> [--description <string>] [--trigger-config <json>] [--locked] [--trigger-kind <kind>]
|
||||
```
|
||||
|
||||
| Option | Required | Description |
|
||||
@@ -270,6 +271,7 @@ scadabridge --url <url> template alarm update --id <int> --name <string> --trigg
|
||||
| `--description` | no | Description |
|
||||
| `--trigger-config` | no | Trigger configuration JSON |
|
||||
| `--locked` | no | Lock the alarm in derived templates |
|
||||
| `--trigger-kind` | no | Expression-trigger analysis kind: `advisory` (default) or `strict`. Ignored for non-`Expression` trigger types. |
|
||||
|
||||
#### `template alarm delete`
|
||||
|
||||
@@ -323,7 +325,7 @@ scadabridge --url <url> template native-alarm-source remove --id <int>
|
||||
Add a script to a template.
|
||||
|
||||
```sh
|
||||
scadabridge --url <url> template script add --template-id <int> --name <string> --trigger-type <string> --code <string> [--trigger-config <json>] [--locked] [--parameters <json>] [--return-def <json>]
|
||||
scadabridge --url <url> template script add --template-id <int> --name <string> --trigger-type <string> --code <string> [--trigger-config <json>] [--locked] [--parameters <json>] [--return-def <json>] [--trigger-kind <kind>]
|
||||
```
|
||||
|
||||
| Option | Required | Description |
|
||||
@@ -336,6 +338,7 @@ scadabridge --url <url> template script add --template-id <int> --name <string>
|
||||
| `--locked` | no | Lock the script in derived templates |
|
||||
| `--parameters` | no | Parameter definitions JSON |
|
||||
| `--return-def` | no | Return definition JSON |
|
||||
| `--trigger-kind` | no | Expression-trigger analysis kind: `advisory` (default) or `strict`. Only meaningful when `--trigger-type` is `Expression`. |
|
||||
|
||||
#### `template script update`
|
||||
|
||||
@@ -343,7 +346,7 @@ Update a script on a template. An update **replaces** the whole entity — every
|
||||
field below must be supplied with its post-update value, even if unchanged.
|
||||
|
||||
```sh
|
||||
scadabridge --url <url> template script update --id <int> --name <string> --trigger-type <string> --code <string> [--trigger-config <json>] [--locked] [--parameters <json>] [--return-def <json>]
|
||||
scadabridge --url <url> template script update --id <int> --name <string> --trigger-type <string> --code <string> [--trigger-config <json>] [--locked] [--parameters <json>] [--return-def <json>] [--trigger-kind <kind>]
|
||||
```
|
||||
|
||||
| Option | Required | Description |
|
||||
@@ -356,6 +359,7 @@ scadabridge --url <url> template script update --id <int> --name <string> --trig
|
||||
| `--locked` | no | Lock the script in derived templates |
|
||||
| `--parameters` | no | Parameter definitions JSON |
|
||||
| `--return-def` | no | Return definition JSON |
|
||||
| `--trigger-kind` | no | Expression-trigger analysis kind: `advisory` (default) or `strict`. Only meaningful when `--trigger-type` is `Expression`. |
|
||||
|
||||
#### `template script delete`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user