Associate MQTT MTConnect and OPC fields with readable feedback
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
[
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Agent base URI"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Device name (blank = all devices)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Request timeout (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-04",
|
||||
"labelsAdded": [
|
||||
"Sample interval (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-05",
|
||||
"labelsAdded": [
|
||||
"Sample count"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-06",
|
||||
"labelsAdded": [
|
||||
"Heartbeat (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "mtcProbeEnabled",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-08",
|
||||
"labelsAdded": [
|
||||
"Probe interval (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-09",
|
||||
"labelsAdded": [
|
||||
"Probe timeout (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-10",
|
||||
"labelsAdded": [
|
||||
"Min backoff (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-11",
|
||||
"labelsAdded": [
|
||||
"Max backoff (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-12",
|
||||
"labelsAdded": [
|
||||
"Backoff multiplier"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-13",
|
||||
"labelsAdded": [
|
||||
"Comms-loss confirm (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "mtcWriteEnabled",
|
||||
"labelsAdded": []
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,117 @@
|
||||
[
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "mqtt-host",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "mqtt-port",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "mqtt-client-id",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "mqtt-use-tls",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "mqtt-allow-untrusted",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "mqtt-ca-path",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "mqtt-username",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "mqtt-password",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputSelect",
|
||||
"key": "mqtt-protocol-version",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "mqtt-clean-session",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "mqtt-keepalive",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "mqtt-connect-timeout",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "mqtt-backoff-min",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "mqtt-backoff-max",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputSelect",
|
||||
"key": "mqtt-mode",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "mqtt-max-payload",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "mqtt-topic-prefix",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "select",
|
||||
"key": "mqtt-default-qos",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "mqtt-spb-group",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "mqtt-spb-window",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "mqtt-spb-host",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "mqtt-spb-rebirth",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "mqtt-spb-primary",
|
||||
"labelsAdded": []
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,199 @@
|
||||
[
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-01",
|
||||
"labelsAdded": [
|
||||
"Browse root NodeId (blank = ObjectsFolder)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-02",
|
||||
"labelsAdded": [
|
||||
"Application URI"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-03",
|
||||
"labelsAdded": [
|
||||
"Session name"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "autoAcceptCerts",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-05",
|
||||
"labelsAdded": [
|
||||
"Per-endpoint connect timeout (s)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-06",
|
||||
"labelsAdded": [
|
||||
"Operation timeout (s)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-07",
|
||||
"labelsAdded": [
|
||||
"Session timeout (s)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-08",
|
||||
"labelsAdded": [
|
||||
"Keep-alive interval (s)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-09",
|
||||
"labelsAdded": [
|
||||
"Max discovered nodes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-10",
|
||||
"labelsAdded": [
|
||||
"Max browse depth"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "input",
|
||||
"key": "field-11",
|
||||
"labelsAdded": [
|
||||
"Endpoint URL"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputSelect",
|
||||
"key": "field-12",
|
||||
"labelsAdded": [
|
||||
"Security mode"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputSelect",
|
||||
"key": "field-13",
|
||||
"labelsAdded": [
|
||||
"Security policy"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputSelect",
|
||||
"key": "opcuaValidateHostName",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputSelect",
|
||||
"key": "field-15",
|
||||
"labelsAdded": [
|
||||
"Auth type"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-16",
|
||||
"labelsAdded": [
|
||||
"Username"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-17",
|
||||
"labelsAdded": [
|
||||
"Password"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-18",
|
||||
"labelsAdded": [
|
||||
"User certificate path (PFX/PEM)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-19",
|
||||
"labelsAdded": [
|
||||
"Certificate password (if PFX-locked)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-20",
|
||||
"labelsAdded": [
|
||||
"Publishing interval override (ms)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-21",
|
||||
"labelsAdded": [
|
||||
"Keep-alive count"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-22",
|
||||
"labelsAdded": [
|
||||
"Lifetime count"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-23",
|
||||
"labelsAdded": [
|
||||
"Max notifications per publish"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-24",
|
||||
"labelsAdded": [
|
||||
"Subscription priority (0-255)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputCheckbox",
|
||||
"key": "rejectUnkRevocation",
|
||||
"labelsAdded": []
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-26",
|
||||
"labelsAdded": [
|
||||
"Issuer store / CRL directory"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-27",
|
||||
"labelsAdded": [
|
||||
"Discovery URL (FindServers)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputText",
|
||||
"key": "field-28",
|
||||
"labelsAdded": [
|
||||
"Discovery server ApplicationUri"
|
||||
]
|
||||
},
|
||||
{
|
||||
"tag": "InputNumber",
|
||||
"key": "field-29",
|
||||
"labelsAdded": [
|
||||
"Admin UI probe timeout (seconds)"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -2,8 +2,10 @@
|
||||
|
||||
Root owns12 driver forms (excluding Calculation),10 device forms and13 tag editors after the OT01 field-pattern freeze. The common resilience/identity/collection/picker wrappers and modal pages remain the sister agent's scope. Existing compact native label geometry is retained; native for/id and hint/error relationships implement the same shared field contract without changing defaults, model parsing, emitted JSON or protocol behavior. InputNumber's existing parser feedback appears only when an EditContext exists; standalone bodies retain their original no-EditForm support.
|
||||
|
||||
The initial35 real component cases render two simultaneous instances with actual controls, positive NativeAlarm fields and a mutation-refusing script-list fake. Only common resilience is explicitly stubbed because it has a separate owner/contract suite. Initial result:34failed/1passed; GalaxyDevice intentionally has no per-device endpoint and requires no invented field. No tests are skipped. Native IDs/names and referenced descriptions are checked on rendered DOM, not source declarations. Default/conditional protocol serialization tests remain required for each batch.
|
||||
The initial35 real component cases render two simultaneous instances with actual controls, positive NativeAlarm fields and a mutation-refusing script-list fake. Only common resilience is explicitly stubbed because it has a separate owner/contract suite. Initial result:34failed/1passed. One failure was an incorrect inventory assumption: MqttDevice, like GalaxyDevice, is informational and has no per-device endpoint. The corrected expectation explicitly asserts no controls for both, leaving33 actual naming/duplicate-ID failures in the baseline; neither view gains invented connection fields. The initial raw result remains retained. No tests are skipped. Native IDs/names and referenced descriptions are checked on rendered DOM, not source declarations. Default/conditional protocol serialization tests remain required for each batch.
|
||||
|
||||
Batch1: AbCip, AbLegacy and Focas driver forms now have scoped label/control IDs, existing hint relationships and existing InputNumber parser feedback. AbCip's existing browse-delay domain message joins the persistent field feedback container without changing its reject-before-emit behavior. Batch contract/parity results:59passed/0failed, including actual standalone/parser-feedback cases for these three forms; remaining protocol failures are expected until their own migration batch.
|
||||
|
||||
Batch2: Galaxy, Heidenhain and Modbus driver forms:30focused field/parser/standalone and existing model/parity tests pass. Protocol C# bodies and existing event/bind expressions remain byte-for-byte unchanged across the35-file owned inventory; check-protocol-boundaries.py verifies that boundary independently of rendered field tests. Conditional aggregate model errors retain their original scope, rather than being attributed to unrelated controls.
|
||||
|
||||
Batch3: MQTT, MTConnect and OPC UA Client driver fields:98focused checks passed. Existing number parser messages now use the visible human field label through DisplayName across the nine migrated drivers; all nine field/standalone/parser groups plus existing page serialization/map tests pass188/188. No default, emitted JSON, callback or protocol-body change.
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
|
||||
Passed! - Failed: 0, Passed: 98, Skipped: 0, Total: 98, Duration: 335 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,49 @@
|
||||
|
||||
Determining projects to restore...
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Abstractions.csproj (in 51 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.csproj (in 51 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.csproj (in 54 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.csproj (in 53 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.csproj (in 54 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.csproj (in 2 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.csproj (in 142 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.csproj (in 64 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.csproj (in 176 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/ZB.MOM.WW.OtOpcUa.Commons.csproj (in 89 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.csproj (in 180 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/ZB.MOM.WW.OtOpcUa.Analyzers.csproj (in 114 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/ZB.MOM.WW.OtOpcUa.Core.Scripting.csproj (in 210 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.csproj (in 210 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.csproj (in 210 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.csproj (in 1 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.csproj (in 1 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.csproj (in 59 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/ZB.MOM.WW.OtOpcUa.Cluster.csproj (in 235 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/ZB.MOM.WW.OtOpcUa.Security.csproj (in 93 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.csproj (in 31 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.csproj (in 160 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.csproj (in 246 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.csproj (in 27 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.csproj (in 1 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.csproj (in 2 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.csproj (in 1 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.csproj (in 57 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/ZB.MOM.WW.OtOpcUa.Driver.Sql.csproj (in 60 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.csproj (in 0.8 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.csproj (in 9 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.csproj (in 2 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/ZB.MOM.WW.OtOpcUa.Configuration.csproj (in 175 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/ZB.MOM.WW.OtOpcUa.ControlPlane.csproj (in 90 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.csproj (in 0.7 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.csproj (in 1 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/ZB.MOM.WW.OtOpcUa.Runtime.csproj (in 32 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.csproj (in 1 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/ZB.MOM.WW.OtOpcUa.OpcUaServer.csproj (in 10 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.csproj (in 12 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.csproj (in 13 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.csproj (in 19 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/ZB.MOM.WW.OtOpcUa.Core.csproj (in 5 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.csproj (in 6 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/ZB.MOM.WW.OtOpcUa.AdminUI.csproj (in 84 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/ZB.MOM.WW.OtOpcUa.Driver.AbCip.csproj (in 9 ms).
|
||||
Restored /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.csproj (in 321 ms).
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
ZB.MOM.WW.OtOpcUa.Analyzers -> /Users/dohertj2/Desktop/OtOpcUa/src/Tooling/ZB.MOM.WW.OtOpcUa.Analyzers/bin/Debug/netstandard2.0/ZB.MOM.WW.OtOpcUa.Analyzers.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.Abstractions.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Ab.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Calculation.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Addressing.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.TwinCAT.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.AlarmHistorian.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Modbus.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Commons -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Commons/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Commons.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Dialect.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Transport.dll
|
||||
ZB.MOM.WW.OtOpcUa.Cluster -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Cluster/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Cluster.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.Scripting -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.Scripting/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.Scripting.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Session.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.ScriptedAlarms.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.S7.Contracts.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Mqtt.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core.VirtualTags -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core.VirtualTags/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.VirtualTags.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.Browser.dll
|
||||
ZB.MOM.WW.OtOpcUa.Configuration -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Configuration/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Configuration.dll
|
||||
ZB.MOM.WW.OtOpcUa.Core -> /Users/dohertj2/Desktop/OtOpcUa/src/Core/ZB.MOM.WW.OtOpcUa.Core/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Core.dll
|
||||
ZB.MOM.WW.OtOpcUa.Security -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Security/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Security.dll
|
||||
ZB.MOM.WW.OtOpcUa.OpcUaServer -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.OpcUaServer.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Heidenhain -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Heidenhain.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.FOCAS -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.FOCAS/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.FOCAS.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbCip -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbCip/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbCip.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Galaxy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Galaxy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Galaxy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.Sql -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.Sql/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.Sql.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.OpcUaClient.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.AbLegacy -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.AbLegacy.dll
|
||||
ZB.MOM.WW.OtOpcUa.Driver.MTConnect -> /Users/dohertj2/Desktop/OtOpcUa/src/Drivers/ZB.MOM.WW.OtOpcUa.Driver.MTConnect/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Driver.MTConnect.dll
|
||||
ZB.MOM.WW.OtOpcUa.ControlPlane -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.ControlPlane/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.ControlPlane.dll
|
||||
ZB.MOM.WW.OtOpcUa.Runtime -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.Runtime/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.Runtime.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI -> /Users/dohertj2/Desktop/OtOpcUa/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.dll
|
||||
ZB.MOM.WW.OtOpcUa.AdminUI.Tests -> /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll
|
||||
Test run for /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/bin/Debug/net10.0/ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (.NETCoreApp,Version=v10.0)
|
||||
A total of 1 test files matched the specified pattern.
|
||||
|
||||
Passed! - Failed: 0, Passed: 188, Skipped: 0, Total: 188, Duration: 560 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
+7
-7
@@ -15,13 +15,13 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-01")" class="form-label">Timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-01-error", "field-01-hint")" id="@FieldId("field-01")" @bind-Value="_form.TimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Timeout (seconds)" aria-describedby="@FieldIds("field-01-error", "field-01-hint")" id="@FieldId("field-01")" @bind-Value="_form.TimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-01-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.TimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">Default libplctag call timeout. Default 2 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-02")" class="form-label">Max concurrent reads</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-02-error", "field-02-hint")" id="@FieldId("field-02")" @bind-Value="_form.MaxConcurrentReads" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Max concurrent reads" aria-describedby="@FieldIds("field-02-error", "field-02-hint")" id="@FieldId("field-02")" @bind-Value="_form.MaxConcurrentReads" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-02-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.MaxConcurrentReads)" /> }</div>
|
||||
<div id="@FieldId("field-02-hint")" class="form-text">Read work items in flight at once. Default 8; 1 = sequential (libplctag). The native transport always uses at least 64 — it packs concurrent reads into one request.</div>
|
||||
</div>
|
||||
@@ -50,7 +50,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="@FieldId("abcipBrowsePageDelay")">Browse page delay (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("abcipBrowsePageDelay-error", "abcipBrowsePageDelay-hint")" @bind-Value="_form.BrowsePageDelayMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" id="@FieldId("abcipBrowsePageDelay")" />
|
||||
<InputNumber DisplayName="Browse page delay (ms)" aria-describedby="@FieldIds("abcipBrowsePageDelay-error", "abcipBrowsePageDelay-hint")" @bind-Value="_form.BrowsePageDelayMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" id="@FieldId("abcipBrowsePageDelay")" />
|
||||
<div id="@FieldId("abcipBrowsePageDelay-error")" class="field-error">
|
||||
@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.BrowsePageDelayMs)" /> }
|
||||
@if (_form.BrowsePageDelayError is { } browseDelayError)
|
||||
@@ -79,7 +79,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-08")" class="form-label">Alarm poll interval (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-08-error", "field-08-hint")" id="@FieldId("field-08")" @bind-Value="_form.AlarmPollIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Alarm poll interval (seconds)" aria-describedby="@FieldIds("field-08-error", "field-08-hint")" id="@FieldId("field-08")" @bind-Value="_form.AlarmPollIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-08-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.AlarmPollIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-08-hint")" class="form-text">Default 1 s.</div>
|
||||
</div>
|
||||
@@ -100,13 +100,13 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-10")" class="form-label">Interval (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-10-error", "field-10-hint")" id="@FieldId("field-10")" @bind-Value="_form.ProbeIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Interval (seconds)" aria-describedby="@FieldIds("field-10-error", "field-10-hint")" id="@FieldId("field-10")" @bind-Value="_form.ProbeIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-10-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-10-hint")" class="form-text">Default 5 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-11")" class="form-label">Timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-11-error", "field-11-hint")" id="@FieldId("field-11")" @bind-Value="_form.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Timeout (seconds)" aria-describedby="@FieldIds("field-11-error", "field-11-hint")" id="@FieldId("field-11")" @bind-Value="_form.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-11-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-11-hint")" class="form-text">Default 2 s.</div>
|
||||
</div>
|
||||
@@ -118,7 +118,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-13")" class="form-label">Admin UI probe timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-13-error", "field-13-hint")" id="@FieldId("field-13")" @bind-Value="_form.AdminProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Admin UI probe timeout (seconds)" aria-describedby="@FieldIds("field-13-error", "field-13-hint")" id="@FieldId("field-13")" @bind-Value="_form.AdminProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-13-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.AdminProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-13-hint")" class="form-text">Max 60. Used by Test Connect. Default 5.</div>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -16,7 +16,7 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-01")" class="form-label">Timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-01-error", "field-01-hint")" id="@FieldId("field-01")" @bind-Value="_form.TimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Timeout (seconds)" aria-describedby="@FieldIds("field-01-error", "field-01-hint")" id="@FieldId("field-01")" @bind-Value="_form.TimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-01-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.TimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">Default read/write timeout. Default 2 s.</div>
|
||||
</div>
|
||||
@@ -53,13 +53,13 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-05")" class="form-label">Interval (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-05-error", "field-05-hint")" id="@FieldId("field-05")" @bind-Value="_form.ProbeIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Interval (seconds)" aria-describedby="@FieldIds("field-05-error", "field-05-hint")" id="@FieldId("field-05")" @bind-Value="_form.ProbeIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-05-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-05-hint")" class="form-text">Default 5 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-06")" class="form-label">Timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-06-error", "field-06-hint")" id="@FieldId("field-06")" @bind-Value="_form.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Timeout (seconds)" aria-describedby="@FieldIds("field-06-error", "field-06-hint")" id="@FieldId("field-06")" @bind-Value="_form.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-06-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-06-hint")" class="form-text">Default 2 s.</div>
|
||||
</div>
|
||||
@@ -71,7 +71,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-08")" class="form-label">Admin UI probe timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-08-error", "field-08-hint")" id="@FieldId("field-08")" @bind-Value="_form.AdminProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Admin UI probe timeout (seconds)" aria-describedby="@FieldIds("field-08-error", "field-08-hint")" id="@FieldId("field-08")" @bind-Value="_form.AdminProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-08-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.AdminProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-08-hint")" class="form-text">Max 60. Used by Test Connect. Default 5.</div>
|
||||
</div>
|
||||
|
||||
+9
-9
@@ -15,7 +15,7 @@
|
||||
<div class="row">
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasTimeoutSec")">Timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("focasTimeoutSec-error", "focasTimeoutSec-hint")" id="@FieldId("focasTimeoutSec")" @bind-Value="_form.TimeoutSeconds" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Timeout (seconds)" aria-describedby="@FieldIds("focasTimeoutSec-error", "focasTimeoutSec-hint")" id="@FieldId("focasTimeoutSec")" @bind-Value="_form.TimeoutSeconds" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasTimeoutSec-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.TimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("focasTimeoutSec-hint")" class="form-text">Per-operation timeout. Default 2 s.</div>
|
||||
@@ -38,19 +38,19 @@
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasProbeInterval")">Probe interval (s)</label>
|
||||
<InputNumber aria-describedby="@FieldId("focasProbeInterval-error")" id="@FieldId("focasProbeInterval")" @bind-Value="_form.ProbeIntervalSeconds" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Probe interval (s)" aria-describedby="@FieldId("focasProbeInterval-error")" id="@FieldId("focasProbeInterval")" @bind-Value="_form.ProbeIntervalSeconds" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasProbeInterval-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeIntervalSeconds)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasProbeTimeout")">Probe timeout (s)</label>
|
||||
<InputNumber aria-describedby="@FieldId("focasProbeTimeout-error")" id="@FieldId("focasProbeTimeout")" @bind-Value="_form.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Probe timeout (s)" aria-describedby="@FieldId("focasProbeTimeout-error")" id="@FieldId("focasProbeTimeout")" @bind-Value="_form.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasProbeTimeout-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeTimeoutSeconds)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasAdminProbe")">Admin probe timeout (s)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("focasAdminProbe-error", "focasAdminProbe-hint")" id="@FieldId("focasAdminProbe")" @bind-Value="_form.AdminProbeTimeoutSeconds" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Admin probe timeout (s)" aria-describedby="@FieldIds("focasAdminProbe-error", "focasAdminProbe-hint")" id="@FieldId("focasAdminProbe")" @bind-Value="_form.AdminProbeTimeoutSeconds" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasAdminProbe-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.AdminProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("focasAdminProbe-hint")" class="form-text">Test Connect timeout (1–60 s).</div>
|
||||
@@ -74,7 +74,7 @@
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasAlarmPoll")">Alarm poll interval (s)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("focasAlarmPoll-error", "focasAlarmPoll-hint")" id="@FieldId("focasAlarmPoll")" @bind-Value="_form.AlarmProjectionPollIntervalSeconds" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Alarm poll interval (s)" aria-describedby="@FieldIds("focasAlarmPoll-error", "focasAlarmPoll-hint")" id="@FieldId("focasAlarmPoll")" @bind-Value="_form.AlarmProjectionPollIntervalSeconds" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasAlarmPoll-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.AlarmProjectionPollIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("focasAlarmPoll-hint")" class="form-text">One cnc_rdalmmsg2 call per tick for each device that owns an <code>ALARM:</code> tag. Default 2 s.</div>
|
||||
@@ -98,7 +98,7 @@
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasRecycleInterval")">Recycle interval (minutes)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("focasRecycleInterval-error", "focasRecycleInterval-hint")" id="@FieldId("focasRecycleInterval")" @bind-Value="_form.HandleRecycleIntervalMinutes" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Recycle interval (minutes)" aria-describedby="@FieldIds("focasRecycleInterval-error", "focasRecycleInterval-hint")" id="@FieldId("focasRecycleInterval")" @bind-Value="_form.HandleRecycleIntervalMinutes" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasRecycleInterval-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.HandleRecycleIntervalMinutes)" /> }</div>
|
||||
<div id="@FieldId("focasRecycleInterval-hint")" class="form-text">Typical: 30 min (shared pool) or 360 min (single client).</div>
|
||||
@@ -122,21 +122,21 @@
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasAxisPoll")">Axis poll interval (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("focasAxisPoll-error", "focasAxisPoll-hint")" id="@FieldId("focasAxisPoll")" @bind-Value="_form.FixedTreePollIntervalMs" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Axis poll interval (ms)" aria-describedby="@FieldIds("focasAxisPoll-error", "focasAxisPoll-hint")" id="@FieldId("focasAxisPoll")" @bind-Value="_form.FixedTreePollIntervalMs" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasAxisPoll-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.FixedTreePollIntervalMs)" /> }</div>
|
||||
<div id="@FieldId("focasAxisPoll-hint")" class="form-text">cnc_rddynamic2 cadence per axis. Default 250 ms.</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasProgramPoll")">Program poll interval (s)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("focasProgramPoll-error", "focasProgramPoll-hint")" id="@FieldId("focasProgramPoll")" @bind-Value="_form.FixedTreeProgramPollIntervalSeconds" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Program poll interval (s)" aria-describedby="@FieldIds("focasProgramPoll-error", "focasProgramPoll-hint")" id="@FieldId("focasProgramPoll")" @bind-Value="_form.FixedTreeProgramPollIntervalSeconds" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasProgramPoll-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.FixedTreeProgramPollIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("focasProgramPoll-hint")" class="form-text">Program/mode info cadence. 0 = disabled. Default 1 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("focasTimerPoll")">Timer poll interval (s)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("focasTimerPoll-error", "focasTimerPoll-hint")" id="@FieldId("focasTimerPoll")" @bind-Value="_form.FixedTreeTimerPollIntervalSeconds" @bind-Value:after="EmitAsync"
|
||||
<InputNumber DisplayName="Timer poll interval (s)" aria-describedby="@FieldIds("focasTimerPoll-error", "focasTimerPoll-hint")" id="@FieldId("focasTimerPoll")" @bind-Value="_form.FixedTreeTimerPollIntervalSeconds" @bind-Value:after="EmitAsync"
|
||||
class="form-control form-control-sm" />
|
||||
<div id="@FieldId("focasTimerPoll-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.FixedTreeTimerPollIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("focasTimerPoll-hint")" class="form-text">Power-on/cutting/cycle timer cadence. 0 = disabled. Default 30 s.</div>
|
||||
|
||||
+11
-11
@@ -37,19 +37,19 @@
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label for="@FieldId("field-05")" class="form-label">Connect timeout (s)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-05-error", "field-05-hint")" id="@FieldId("field-05")" @bind-Value="_form.Galaxy.GatewayConnectTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Connect timeout (s)" aria-describedby="@FieldIds("field-05-error", "field-05-hint")" id="@FieldId("field-05")" @bind-Value="_form.Galaxy.GatewayConnectTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-05-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.GatewayConnectTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-05-hint")" class="form-text">Default 10 s.</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label for="@FieldId("field-06")" class="form-label">Call timeout (s)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-06-error", "field-06-hint")" id="@FieldId("field-06")" @bind-Value="_form.Galaxy.GatewayDefaultCallTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Call timeout (s)" aria-describedby="@FieldIds("field-06-error", "field-06-hint")" id="@FieldId("field-06")" @bind-Value="_form.Galaxy.GatewayDefaultCallTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-06-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.GatewayDefaultCallTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-06-hint")" class="form-text">Default 30 s.</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label for="@FieldId("field-07")" class="form-label">Stream timeout (s, 0 = unlimited)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-07-error", "field-07-hint")" id="@FieldId("field-07")" @bind-Value="_form.Galaxy.GatewayStreamTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Stream timeout (s, 0 = unlimited)" aria-describedby="@FieldIds("field-07-error", "field-07-hint")" id="@FieldId("field-07")" @bind-Value="_form.Galaxy.GatewayStreamTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-07-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.GatewayStreamTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-07-hint")" class="form-text">Default 0 (lifetime of driver).</div>
|
||||
</div>
|
||||
@@ -70,19 +70,19 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-09")" class="form-label">Publishing interval (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-09-error", "field-09-hint")" id="@FieldId("field-09")" @bind-Value="_form.Galaxy.MxPublishingIntervalMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Publishing interval (ms)" aria-describedby="@FieldIds("field-09-error", "field-09-hint")" id="@FieldId("field-09")" @bind-Value="_form.Galaxy.MxPublishingIntervalMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-09-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.MxPublishingIntervalMs)" /> }</div>
|
||||
<div id="@FieldId("field-09-hint")" class="form-text">Default 1000 ms.</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label for="@FieldId("field-10")" class="form-label">Write user ID</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-10-error", "field-10-hint")" id="@FieldId("field-10")" @bind-Value="_form.Galaxy.MxWriteUserId" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Write user ID" aria-describedby="@FieldIds("field-10-error", "field-10-hint")" id="@FieldId("field-10")" @bind-Value="_form.Galaxy.MxWriteUserId" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-10-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.MxWriteUserId)" /> }</div>
|
||||
<div id="@FieldId("field-10-hint")" class="form-text">0 = anonymous.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-11")" class="form-label">Event pump channel capacity</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-11-error", "field-11-hint")" id="@FieldId("field-11")" @bind-Value="_form.Galaxy.MxEventPumpChannelCapacity" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Event pump channel capacity" aria-describedby="@FieldIds("field-11-error", "field-11-hint")" id="@FieldId("field-11")" @bind-Value="_form.Galaxy.MxEventPumpChannelCapacity" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-11-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.MxEventPumpChannelCapacity)" /> }</div>
|
||||
<div id="@FieldId("field-11-hint")" class="form-text">Default 50000. Raise if events.dropped appears.</div>
|
||||
</div>
|
||||
@@ -117,7 +117,7 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-15")" class="form-label">Ack confirm timeout (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-15-error", "field-15-hint")" id="@FieldId("field-15")" @bind-Value="_form.Galaxy.AckConfirmTimeoutMs" @bind-Value:after="EmitAsync" min="0" max="120000" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Ack confirm timeout (ms)" aria-describedby="@FieldIds("field-15-error", "field-15-hint")" id="@FieldId("field-15")" @bind-Value="_form.Galaxy.AckConfirmTimeoutMs" @bind-Value:after="EmitAsync" min="0" max="120000" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-15-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.AckConfirmTimeoutMs)" /> }</div>
|
||||
<div id="@FieldId("field-15-hint")" class="form-text">When the gateway sends an ack but cannot confirm it, wait this long for Galaxy's acknowledged transition before reverting the condition to unacknowledged (#869). Default 10000; 0 = do not wait.</div>
|
||||
</div>
|
||||
@@ -132,7 +132,7 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-16")" class="form-label">Discover page size</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-16-error", "field-16-hint")" id="@FieldId("field-16")" @bind-Value="_form.Galaxy.RepositoryDiscoverPageSize" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Discover page size" aria-describedby="@FieldIds("field-16-error", "field-16-hint")" id="@FieldId("field-16")" @bind-Value="_form.Galaxy.RepositoryDiscoverPageSize" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-16-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.RepositoryDiscoverPageSize)" /> }</div>
|
||||
<div id="@FieldId("field-16-hint")" class="form-text">Objects per DiscoverHierarchy page the driver asks the gateway for. Default 5000.</div>
|
||||
</div>
|
||||
@@ -154,13 +154,13 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-18")" class="form-label">Initial backoff (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-18-error", "field-18-hint")" id="@FieldId("field-18")" @bind-Value="_form.Galaxy.ReconnectInitialBackoffMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Initial backoff (ms)" aria-describedby="@FieldIds("field-18-error", "field-18-hint")" id="@FieldId("field-18")" @bind-Value="_form.Galaxy.ReconnectInitialBackoffMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-18-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.ReconnectInitialBackoffMs)" /> }</div>
|
||||
<div id="@FieldId("field-18-hint")" class="form-text">Default 500 ms.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-19")" class="form-label">Max backoff (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-19-error", "field-19-hint")" id="@FieldId("field-19")" @bind-Value="_form.Galaxy.ReconnectMaxBackoffMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Max backoff (ms)" aria-describedby="@FieldIds("field-19-error", "field-19-hint")" id="@FieldId("field-19")" @bind-Value="_form.Galaxy.ReconnectMaxBackoffMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-19-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.ReconnectMaxBackoffMs)" /> }</div>
|
||||
<div id="@FieldId("field-19-hint")" class="form-text">Default 30000 ms.</div>
|
||||
</div>
|
||||
@@ -181,7 +181,7 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-21")" class="form-label">Admin UI probe timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-21-error", "field-21-hint")" id="@FieldId("field-21")" @bind-Value="_form.Galaxy.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Admin UI probe timeout (seconds)" aria-describedby="@FieldIds("field-21-error", "field-21-hint")" id="@FieldId("field-21")" @bind-Value="_form.Galaxy.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-21-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Galaxy.ProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-21-hint")" class="form-text">The Test Connect probe budget (1–60 s). Default 30.</div>
|
||||
</div>
|
||||
|
||||
+9
-9
@@ -10,24 +10,24 @@
|
||||
<div class="row">
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhTimeout")">Transaction timeout (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("hhTimeout-error", "hhTimeout-hint")" id="@FieldId("hhTimeout")" @bind-Value="_m.TimeoutMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Transaction timeout (ms)" aria-describedby="@FieldIds("hhTimeout-error", "hhTimeout-hint")" id="@FieldId("hhTimeout")" @bind-Value="_m.TimeoutMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhTimeout-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.TimeoutMs)" /> }</div>
|
||||
<div id="@FieldId("hhTimeout-hint")" class="form-text">100–60000. Bounds connect and each complete response. Default 5000.</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhReconnect")">Reconnect initial delay (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldId("hhReconnect-error")" id="@FieldId("hhReconnect")" @bind-Value="_m.ReconnectInitialMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Reconnect initial delay (ms)" aria-describedby="@FieldId("hhReconnect-error")" id="@FieldId("hhReconnect")" @bind-Value="_m.ReconnectInitialMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhReconnect-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.ReconnectInitialMs)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhReconnectMax")">Reconnect max delay (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("hhReconnectMax-error", "hhReconnectMax-hint")" id="@FieldId("hhReconnectMax")" @bind-Value="_m.ReconnectMaxMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Reconnect max delay (ms)" aria-describedby="@FieldIds("hhReconnectMax-error", "hhReconnectMax-hint")" id="@FieldId("hhReconnectMax")" @bind-Value="_m.ReconnectMaxMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhReconnectMax-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.ReconnectMaxMs)" /> }</div>
|
||||
<div id="@FieldId("hhReconnectMax-hint")" class="form-text">Backoff doubles from the initial delay up to this ceiling.</div>
|
||||
</div>
|
||||
<div class="col-md-3 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhProbe")">Test Connect timeout (s)</label>
|
||||
<InputNumber aria-describedby="@FieldId("hhProbe-error")" id="@FieldId("hhProbe")" @bind-Value="_m.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Test Connect timeout (s)" aria-describedby="@FieldId("hhProbe-error")" id="@FieldId("hhProbe")" @bind-Value="_m.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhProbe-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.ProbeTimeoutSeconds)" /> }</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -84,27 +84,27 @@
|
||||
<div class="row">
|
||||
<div class="col-md-2 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhStatus")">Status (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldId("hhStatus-error")" id="@FieldId("hhStatus")" @bind-Value="_m.StatusMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Status (ms)" aria-describedby="@FieldId("hhStatus-error")" id="@FieldId("hhStatus")" @bind-Value="_m.StatusMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhStatus-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.StatusMs)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-2 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhCustom")">Custom (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldId("hhCustom-error")" id="@FieldId("hhCustom")" @bind-Value="_m.CustomMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Custom (ms)" aria-describedby="@FieldId("hhCustom-error")" id="@FieldId("hhCustom")" @bind-Value="_m.CustomMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhCustom-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.CustomMs)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-2 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhSlow")">Slow (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldId("hhSlow-error")" id="@FieldId("hhSlow")" @bind-Value="_m.SlowMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Slow (ms)" aria-describedby="@FieldId("hhSlow-error")" id="@FieldId("hhSlow")" @bind-Value="_m.SlowMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhSlow-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.SlowMs)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-2 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhAlarmMs")" title="Cadence of the alarm-list walk behind ALARM: Part 9 conditions; only polled when the control carries an ALARM: tag">Alarm conditions (ms)</label>
|
||||
<InputNumber aria-describedby="@FieldId("hhAlarmMs-error")" id="@FieldId("hhAlarmMs")" @bind-Value="_m.AlarmMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Alarm conditions (ms)" aria-describedby="@FieldId("hhAlarmMs-error")" id="@FieldId("hhAlarmMs")" @bind-Value="_m.AlarmMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhAlarmMs-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.AlarmMs)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-2 mb-3">
|
||||
<label class="form-label" for="@FieldId("hhAlarms")">Max alarms</label>
|
||||
<InputNumber aria-describedby="@FieldId("hhAlarms-error")" id="@FieldId("hhAlarms")" @bind-Value="_m.MaxAlarms" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Max alarms" aria-describedby="@FieldId("hhAlarms-error")" id="@FieldId("hhAlarms")" @bind-Value="_m.MaxAlarms" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("hhAlarms-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _m.MaxAlarms)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-4 mb-3">
|
||||
|
||||
+57
-42
@@ -17,16 +17,16 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Agent base URI</label>
|
||||
<InputText @bind-Value="_form.AgentUri" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono"
|
||||
<label for="@FieldId("field-01")" class="form-label">Agent base URI</label>
|
||||
<InputText aria-describedby="@FieldIds("field-01-hint")" id="@FieldId("field-01")" @bind-Value="_form.AgentUri" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono"
|
||||
placeholder="http://agent.internal:5000" />
|
||||
<div class="form-text">Required. The driver appends <span class="mono">/probe</span>, <span class="mono">/current</span> and <span class="mono">/sample</span> to this base.</div>
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">Required. The driver appends <span class="mono">/probe</span>, <span class="mono">/current</span> and <span class="mono">/sample</span> to this base.</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Device name (blank = all devices)</label>
|
||||
<InputText @bind-Value="_form.DeviceName" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono"
|
||||
<label for="@FieldId("field-02")" class="form-label">Device name (blank = all devices)</label>
|
||||
<InputText aria-describedby="@FieldIds("field-02-hint")" id="@FieldId("field-02")" @bind-Value="_form.DeviceName" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono"
|
||||
placeholder="VMC-1" />
|
||||
<div class="form-text">Narrows requests to <span class="mono">{base}/{device}/…</span> on a multi-device Agent.</div>
|
||||
<div id="@FieldId("field-02-hint")" class="form-text">Narrows requests to <span class="mono">{base}/{device}/…</span> on a multi-device Agent.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -38,24 +38,28 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Request timeout (ms)</label>
|
||||
<InputNumber @bind-Value="_form.RequestTimeoutMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div class="form-text">Default 5000. Must be > 0.</div>
|
||||
<label for="@FieldId("field-03")" class="form-label">Request timeout (ms)</label>
|
||||
<InputNumber DisplayName="Request timeout (ms)" aria-describedby="@FieldIds("field-03-error", "field-03-hint")" id="@FieldId("field-03")" @bind-Value="_form.RequestTimeoutMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div id="@FieldId("field-03-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.RequestTimeoutMs)" /> }</div>
|
||||
<div id="@FieldId("field-03-hint")" class="form-text">Default 5000. Must be > 0.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Sample interval (ms)</label>
|
||||
<InputNumber @bind-Value="_form.SampleIntervalMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div class="form-text">Default 1000. Must be > 0 — a 0 busy-loops the stream.</div>
|
||||
<label for="@FieldId("field-04")" class="form-label">Sample interval (ms)</label>
|
||||
<InputNumber DisplayName="Sample interval (ms)" aria-describedby="@FieldIds("field-04-error", "field-04-hint")" id="@FieldId("field-04")" @bind-Value="_form.SampleIntervalMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div id="@FieldId("field-04-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.SampleIntervalMs)" /> }</div>
|
||||
<div id="@FieldId("field-04-hint")" class="form-text">Default 1000. Must be > 0 — a 0 busy-loops the stream.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Sample count</label>
|
||||
<InputNumber @bind-Value="_form.SampleCount" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div class="form-text">Default 1000 observations per chunk. Must be > 0.</div>
|
||||
<label for="@FieldId("field-05")" class="form-label">Sample count</label>
|
||||
<InputNumber DisplayName="Sample count" aria-describedby="@FieldIds("field-05-error", "field-05-hint")" id="@FieldId("field-05")" @bind-Value="_form.SampleCount" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div id="@FieldId("field-05-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.SampleCount)" /> }</div>
|
||||
<div id="@FieldId("field-05-hint")" class="form-text">Default 1000 observations per chunk. Must be > 0.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Heartbeat (ms)</label>
|
||||
<InputNumber @bind-Value="_form.HeartbeatMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div class="form-text">Default 10000. Must be > 0 — a 0 makes a quiet stream indistinguishable from a dead one.</div>
|
||||
<label for="@FieldId("field-06")" class="form-label">Heartbeat (ms)</label>
|
||||
<InputNumber DisplayName="Heartbeat (ms)" aria-describedby="@FieldIds("field-06-error", "field-06-hint")" id="@FieldId("field-06")" @bind-Value="_form.HeartbeatMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div id="@FieldId("field-06-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.HeartbeatMs)" /> }</div>
|
||||
<div id="@FieldId("field-06-hint")" class="form-text">Default 10000. Must be > 0 — a 0 makes a quiet stream indistinguishable from a dead one.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -68,20 +72,22 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<div class="form-check form-switch mt-4">
|
||||
<InputCheckbox @bind-Value="_form.ProbeEnabled" @bind-Value:after="EmitAsync" class="form-check-input" id="mtcProbeEnabled" />
|
||||
<label class="form-check-label" for="mtcProbeEnabled">Probe enabled</label>
|
||||
<InputCheckbox aria-describedby="@FieldIds("mtcProbeEnabled-hint")" @bind-Value="_form.ProbeEnabled" @bind-Value:after="EmitAsync" class="form-check-input" id="@FieldId("mtcProbeEnabled")" />
|
||||
<label class="form-check-label" for="@FieldId("mtcProbeEnabled")">Probe enabled</label>
|
||||
</div>
|
||||
<div class="form-text mt-0">Periodic <span class="mono">/probe</span> driving the Running/Stopped host status.</div>
|
||||
<div id="@FieldId("mtcProbeEnabled-hint")" class="form-text mt-0">Periodic <span class="mono">/probe</span> driving the Running/Stopped host status.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Probe interval (ms)</label>
|
||||
<InputNumber @bind-Value="_form.ProbeIntervalMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" disabled="@(!_form.ProbeEnabled)" />
|
||||
<div class="form-text">Default 5000. Must be > 0 while probing is on.</div>
|
||||
<label for="@FieldId("field-08")" class="form-label">Probe interval (ms)</label>
|
||||
<InputNumber DisplayName="Probe interval (ms)" aria-describedby="@FieldIds("field-08-error", "field-08-hint")" id="@FieldId("field-08")" @bind-Value="_form.ProbeIntervalMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" disabled="@(!_form.ProbeEnabled)" />
|
||||
<div id="@FieldId("field-08-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeIntervalMs)" /> }</div>
|
||||
<div id="@FieldId("field-08-hint")" class="form-text">Default 5000. Must be > 0 while probing is on.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Probe timeout (ms)</label>
|
||||
<InputNumber @bind-Value="_form.ProbeTimeoutMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" disabled="@(!_form.ProbeEnabled)" />
|
||||
<div class="form-text">Default 2000. Must be > 0 while probing is on.</div>
|
||||
<label for="@FieldId("field-09")" class="form-label">Probe timeout (ms)</label>
|
||||
<InputNumber DisplayName="Probe timeout (ms)" aria-describedby="@FieldIds("field-09-error", "field-09-hint")" id="@FieldId("field-09")" @bind-Value="_form.ProbeTimeoutMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" disabled="@(!_form.ProbeEnabled)" />
|
||||
<div id="@FieldId("field-09-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeTimeoutMs)" /> }</div>
|
||||
<div id="@FieldId("field-09-hint")" class="form-text">Default 2000. Must be > 0 while probing is on.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -93,24 +99,28 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Min backoff (ms)</label>
|
||||
<InputNumber @bind-Value="_form.ReconnectMinBackoffMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="0" />
|
||||
<div class="form-text">Default 0 (retry immediately).</div>
|
||||
<label for="@FieldId("field-10")" class="form-label">Min backoff (ms)</label>
|
||||
<InputNumber DisplayName="Min backoff (ms)" aria-describedby="@FieldIds("field-10-error", "field-10-hint")" id="@FieldId("field-10")" @bind-Value="_form.ReconnectMinBackoffMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="0" />
|
||||
<div id="@FieldId("field-10-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ReconnectMinBackoffMs)" /> }</div>
|
||||
<div id="@FieldId("field-10-hint")" class="form-text">Default 0 (retry immediately).</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Max backoff (ms)</label>
|
||||
<InputNumber @bind-Value="_form.ReconnectMaxBackoffMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div class="form-text">Default 30000.</div>
|
||||
<label for="@FieldId("field-11")" class="form-label">Max backoff (ms)</label>
|
||||
<InputNumber DisplayName="Max backoff (ms)" aria-describedby="@FieldIds("field-11-error", "field-11-hint")" id="@FieldId("field-11")" @bind-Value="_form.ReconnectMaxBackoffMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" min="1" />
|
||||
<div id="@FieldId("field-11-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ReconnectMaxBackoffMs)" /> }</div>
|
||||
<div id="@FieldId("field-11-hint")" class="form-text">Default 30000.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Backoff multiplier</label>
|
||||
<InputNumber @bind-Value="_form.ReconnectBackoffMultiplier" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 2.0 (doubles each retry).</div>
|
||||
<label for="@FieldId("field-12")" class="form-label">Backoff multiplier</label>
|
||||
<InputNumber DisplayName="Backoff multiplier" aria-describedby="@FieldIds("field-12-error", "field-12-hint")" id="@FieldId("field-12")" @bind-Value="_form.ReconnectBackoffMultiplier" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-12-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ReconnectBackoffMultiplier)" /> }</div>
|
||||
<div id="@FieldId("field-12-hint")" class="form-text">Default 2.0 (doubles each retry).</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Comms-loss confirm (ms)</label>
|
||||
<InputNumber @bind-Value="_form.CommsLossConfirmMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">
|
||||
<label for="@FieldId("field-13")" class="form-label">Comms-loss confirm (ms)</label>
|
||||
<InputNumber DisplayName="Comms-loss confirm (ms)" aria-describedby="@FieldIds("field-13-error", "field-13-hint")" id="@FieldId("field-13")" @bind-Value="_form.CommsLossConfirmMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-13-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.CommsLossConfirmMs)" /> }</div>
|
||||
<div id="@FieldId("field-13-hint")" class="form-text">
|
||||
Default 2000. How long the Agent must keep <strong>refusing</strong> connections before every
|
||||
subscribed value and native condition goes <span class="mono">BadNoCommunication</span>.
|
||||
<span class="mono">0</span> = on the first refusal; negative = fast path off (only the ~90 s
|
||||
@@ -128,10 +138,10 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-4">
|
||||
<div class="form-check form-switch">
|
||||
<InputCheckbox @bind-Value="_form.WriteEnabled" @bind-Value:after="EmitAsync" class="form-check-input" id="mtcWriteEnabled" />
|
||||
<label class="form-check-label" for="mtcWriteEnabled">Allow write-back</label>
|
||||
<InputCheckbox aria-describedby="@FieldIds("mtcWriteEnabled-hint")" @bind-Value="_form.WriteEnabled" @bind-Value:after="EmitAsync" class="form-check-input" id="@FieldId("mtcWriteEnabled")" />
|
||||
<label class="form-check-label" for="@FieldId("mtcWriteEnabled")">Allow write-back</label>
|
||||
</div>
|
||||
<div class="form-text mt-0">Default off.</div>
|
||||
<div id="@FieldId("mtcWriteEnabled-hint")" class="form-text mt-0">Default off.</div>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="form-text">
|
||||
@@ -157,6 +167,11 @@
|
||||
<DriverResilienceSection ResilienceConfig="@ResilienceConfig" ResilienceConfigChanged="OnResilienceChanged" />
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "m-t-connect-driver-form-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId));
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
[CascadingParameter] private Microsoft.AspNetCore.Components.Forms.EditContext? _fieldEditContext { get; set; }
|
||||
|
||||
/// <summary>The driver's DriverConfig JSON (supports <c>@bind-DriverConfigJson</c>).</summary>
|
||||
[Parameter] public string DriverConfigJson { get; set; } = "{}";
|
||||
/// <summary>Two-way config callback.</summary>
|
||||
|
||||
+17
-17
@@ -15,7 +15,7 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-01")" class="form-label">Timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-01-error", "field-01-hint")" id="@FieldId("field-01")" @bind-Value="_form.TimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Timeout (seconds)" aria-describedby="@FieldIds("field-01-error", "field-01-hint")" id="@FieldId("field-01")" @bind-Value="_form.TimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-01-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.TimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">Default 2 s.</div>
|
||||
</div>
|
||||
@@ -65,25 +65,25 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-06")" class="form-label">Max registers per read</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-06-error", "field-06-hint")" id="@FieldId("field-06")" @bind-Value="_form.MaxRegistersPerRead" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Max registers per read" aria-describedby="@FieldIds("field-06-error", "field-06-hint")" id="@FieldId("field-06")" @bind-Value="_form.MaxRegistersPerRead" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-06-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.MaxRegistersPerRead)" /> }</div>
|
||||
<div id="@FieldId("field-06-hint")" class="form-text">Spec max 125. Reduce for limited devices.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-07")" class="form-label">Max registers per write</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-07-error", "field-07-hint")" id="@FieldId("field-07")" @bind-Value="_form.MaxRegistersPerWrite" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Max registers per write" aria-describedby="@FieldIds("field-07-error", "field-07-hint")" id="@FieldId("field-07")" @bind-Value="_form.MaxRegistersPerWrite" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-07-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.MaxRegistersPerWrite)" /> }</div>
|
||||
<div id="@FieldId("field-07-hint")" class="form-text">Spec max 123.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-08")" class="form-label">Max coils per read</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-08-error", "field-08-hint")" id="@FieldId("field-08")" @bind-Value="_form.MaxCoilsPerRead" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Max coils per read" aria-describedby="@FieldIds("field-08-error", "field-08-hint")" id="@FieldId("field-08")" @bind-Value="_form.MaxCoilsPerRead" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-08-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.MaxCoilsPerRead)" /> }</div>
|
||||
<div id="@FieldId("field-08-hint")" class="form-text">Spec max 2000.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-09")" class="form-label">Max read gap (coalescing)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-09-error", "field-09-hint")" id="@FieldId("field-09")" @bind-Value="_form.MaxReadGap" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Max read gap (coalescing)" aria-describedby="@FieldIds("field-09-error", "field-09-hint")" id="@FieldId("field-09")" @bind-Value="_form.MaxReadGap" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-09-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.MaxReadGap)" /> }</div>
|
||||
<div id="@FieldId("field-09-hint")" class="form-text">0 = no coalescing. Default 8. Refused ranges fall back per tag.</div>
|
||||
</div>
|
||||
@@ -149,19 +149,19 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-17")" class="form-label">Time (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-17-error", "field-17-hint")" id="@FieldId("field-17")" @bind-Value="_form.KeepAliveTimeSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Time (seconds)" aria-describedby="@FieldIds("field-17-error", "field-17-hint")" id="@FieldId("field-17")" @bind-Value="_form.KeepAliveTimeSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-17-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.KeepAliveTimeSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-17-hint")" class="form-text">Idle time before first probe. Default 30 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-18")" class="form-label">Interval (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-18-error", "field-18-hint")" id="@FieldId("field-18")" @bind-Value="_form.KeepAliveIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Interval (seconds)" aria-describedby="@FieldIds("field-18-error", "field-18-hint")" id="@FieldId("field-18")" @bind-Value="_form.KeepAliveIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-18-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.KeepAliveIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-18-hint")" class="form-text">Between probes once started. Default 10 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-19")" class="form-label">Retry count</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-19-error", "field-19-hint")" id="@FieldId("field-19")" @bind-Value="_form.KeepAliveRetryCount" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Retry count" aria-describedby="@FieldIds("field-19-error", "field-19-hint")" id="@FieldId("field-19")" @bind-Value="_form.KeepAliveRetryCount" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-19-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.KeepAliveRetryCount)" /> }</div>
|
||||
<div id="@FieldId("field-19-hint")" class="form-text">Probes before declaring socket dead. Default 3.</div>
|
||||
</div>
|
||||
@@ -176,25 +176,25 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-20")" class="form-label">Initial delay (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-20-error", "field-20-hint")" id="@FieldId("field-20")" @bind-Value="_form.ReconnectInitialDelaySeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Initial delay (seconds)" aria-describedby="@FieldIds("field-20-error", "field-20-hint")" id="@FieldId("field-20")" @bind-Value="_form.ReconnectInitialDelaySeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-20-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ReconnectInitialDelaySeconds)" /> }</div>
|
||||
<div id="@FieldId("field-20-hint")" class="form-text">0 = immediate retry.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-21")" class="form-label">Max delay (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-21-error", "field-21-hint")" id="@FieldId("field-21")" @bind-Value="_form.ReconnectMaxDelaySeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Max delay (seconds)" aria-describedby="@FieldIds("field-21-error", "field-21-hint")" id="@FieldId("field-21")" @bind-Value="_form.ReconnectMaxDelaySeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-21-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ReconnectMaxDelaySeconds)" /> }</div>
|
||||
<div id="@FieldId("field-21-hint")" class="form-text">Default 30 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-22")" class="form-label">Backoff multiplier</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-22-error", "field-22-hint")" id="@FieldId("field-22")" @bind-Value="_form.ReconnectBackoffMultiplier" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Backoff multiplier" aria-describedby="@FieldIds("field-22-error", "field-22-hint")" id="@FieldId("field-22")" @bind-Value="_form.ReconnectBackoffMultiplier" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-22-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ReconnectBackoffMultiplier)" /> }</div>
|
||||
<div id="@FieldId("field-22-hint")" class="form-text">Default 2.0 (doubles each step).</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-23")" class="form-label">Idle disconnect (seconds, 0 = off)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-23-error", "field-23-hint")" id="@FieldId("field-23")" @bind-Value="_form.IdleDisconnectTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Idle disconnect (seconds, 0 = off)" aria-describedby="@FieldIds("field-23-error", "field-23-hint")" id="@FieldId("field-23")" @bind-Value="_form.IdleDisconnectTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-23-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.IdleDisconnectTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-23-hint")" class="form-text">Proactive close after idle period. 0 = disabled.</div>
|
||||
</div>
|
||||
@@ -215,31 +215,31 @@
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-25")" class="form-label">Probe interval (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-25-error", "field-25-hint")" id="@FieldId("field-25")" @bind-Value="_form.ProbeIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Probe interval (seconds)" aria-describedby="@FieldIds("field-25-error", "field-25-hint")" id="@FieldId("field-25")" @bind-Value="_form.ProbeIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-25-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-25-hint")" class="form-text">Default 5 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-26")" class="form-label">Probe timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-26-error", "field-26-hint")" id="@FieldId("field-26")" @bind-Value="_form.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Probe timeout (seconds)" aria-describedby="@FieldIds("field-26-error", "field-26-hint")" id="@FieldId("field-26")" @bind-Value="_form.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-26-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-26-hint")" class="form-text">Default 2 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-27")" class="form-label">Probe register address</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-27-error", "field-27-hint")" id="@FieldId("field-27")" @bind-Value="_form.ProbeAddress" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Probe register address" aria-describedby="@FieldIds("field-27-error", "field-27-hint")" id="@FieldId("field-27")" @bind-Value="_form.ProbeAddress" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-27-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ProbeAddress)" /> }</div>
|
||||
<div id="@FieldId("field-27-hint")" class="form-text">Zero-based. Default 0 (FC03 at register 0).</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-28")" class="form-label">Admin UI probe timeout (seconds)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-28-error", "field-28-hint")" id="@FieldId("field-28")" @bind-Value="_form.AdminProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Admin UI probe timeout (seconds)" aria-describedby="@FieldIds("field-28-error", "field-28-hint")" id="@FieldId("field-28")" @bind-Value="_form.AdminProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-28-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.AdminProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-28-hint")" class="form-text">Max 60. Used by Test Connect. Default 5.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label for="@FieldId("field-29")" class="form-label">Auto-prohibit re-probe interval (seconds, 0 = off)</label>
|
||||
<InputNumber aria-describedby="@FieldIds("field-29-error", "field-29-hint")" id="@FieldId("field-29")" @bind-Value="_form.AutoProhibitReprobeIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<InputNumber DisplayName="Auto-prohibit re-probe interval (seconds, 0 = off)" aria-describedby="@FieldIds("field-29-error", "field-29-hint")" id="@FieldId("field-29")" @bind-Value="_form.AutoProhibitReprobeIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-29-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.AutoProhibitReprobeIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-29-hint")" class="form-text">Interval to retry auto-prohibited coalesced ranges.</div>
|
||||
</div>
|
||||
|
||||
+78
-66
@@ -22,19 +22,20 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-5">
|
||||
<label class="form-label" for="mqtt-host">Host</label>
|
||||
<InputText id="mqtt-host" @bind-Value="_form.Host" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="broker.internal" />
|
||||
<div class="form-text">Broker hostname or IP. The connection lives on the driver — MQTT has one broker session per driver.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-host")">Host</label>
|
||||
<InputText aria-describedby="@FieldIds("mqtt-host-hint")" id="@FieldId("mqtt-host")" @bind-Value="_form.Host" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="broker.internal" />
|
||||
<div id="@FieldId("mqtt-host-hint")" class="form-text">Broker hostname or IP. The connection lives on the driver — MQTT has one broker session per driver.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-port">Port</label>
|
||||
<InputNumber id="mqtt-port" @bind-Value="_form.Port" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">8883 for TLS, 1883 for plaintext.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-port")">Port</label>
|
||||
<InputNumber DisplayName="Port" aria-describedby="@FieldIds("mqtt-port-error", "mqtt-port-hint")" id="@FieldId("mqtt-port")" @bind-Value="_form.Port" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("mqtt-port-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.Port)" /> }</div>
|
||||
<div id="@FieldId("mqtt-port-hint")" class="form-text">8883 for TLS, 1883 for plaintext.</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label" for="mqtt-client-id">Client ID <span class="badge bg-secondary">leave blank</span></label>
|
||||
<InputText id="mqtt-client-id" @bind-Value="_form.ClientId" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="(auto-generated — recommended)" />
|
||||
<div class="form-text">Blank lets the client generate a unique id per connection. That is the correct setting.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-client-id")">Client ID <span class="badge bg-secondary">leave blank</span></label>
|
||||
<InputText aria-describedby="@FieldIds("mqtt-client-id-hint")" id="@FieldId("mqtt-client-id")" @bind-Value="_form.ClientId" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="(auto-generated — recommended)" />
|
||||
<div id="@FieldId("mqtt-client-id-hint")" class="form-text">Blank lets the client generate a unique id per connection. That is the correct setting.</div>
|
||||
</div>
|
||||
@if (!string.IsNullOrWhiteSpace(_form.ClientId))
|
||||
{
|
||||
@@ -55,24 +56,24 @@
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<div class="form-check form-switch mt-4">
|
||||
<InputCheckbox @bind-Value="_form.UseTls" @bind-Value:after="EmitAsync" class="form-check-input" id="mqtt-use-tls" />
|
||||
<label class="form-check-label" for="mqtt-use-tls">Use TLS</label>
|
||||
<InputCheckbox aria-describedby="@FieldIds("mqtt-use-tls-hint")" @bind-Value="_form.UseTls" @bind-Value:after="EmitAsync" class="form-check-input" id="@FieldId("mqtt-use-tls")" />
|
||||
<label class="form-check-label" for="@FieldId("mqtt-use-tls")">Use TLS</label>
|
||||
</div>
|
||||
<div class="form-text mt-0">Default on. Must match the broker's listener.</div>
|
||||
<div id="@FieldId("mqtt-use-tls-hint")" class="form-text mt-0">Default on. Must match the broker's listener.</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-check form-switch mt-4">
|
||||
<InputCheckbox @bind-Value="_form.AllowUntrustedServerCertificate" @bind-Value:after="EmitAsync" class="form-check-input" id="mqtt-allow-untrusted" />
|
||||
<label class="form-check-label" for="mqtt-allow-untrusted">
|
||||
<InputCheckbox aria-describedby="@FieldIds("mqtt-allow-untrusted-hint")" @bind-Value="_form.AllowUntrustedServerCertificate" @bind-Value:after="EmitAsync" class="form-check-input" id="@FieldId("mqtt-allow-untrusted")" />
|
||||
<label class="form-check-label" for="@FieldId("mqtt-allow-untrusted")">
|
||||
Allow untrusted server certificate <span class="badge bg-warning text-dark">Dev / on-prem only</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-text mt-0">Accepts any self-signed broker cert.</div>
|
||||
<div id="@FieldId("mqtt-allow-untrusted-hint")" class="form-text mt-0">Accepts any self-signed broker cert.</div>
|
||||
</div>
|
||||
<div class="col-md-5">
|
||||
<label class="form-label" for="mqtt-ca-path">CA certificate path (optional)</label>
|
||||
<InputText id="mqtt-ca-path" @bind-Value="_form.CaCertificatePath" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="/etc/ssl/certs/broker-ca.pem" />
|
||||
<div class="form-text">PEM file pinning the broker's chain. Blank uses the OS trust store.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-ca-path")">CA certificate path (optional)</label>
|
||||
<InputText aria-describedby="@FieldIds("mqtt-ca-path-hint")" id="@FieldId("mqtt-ca-path")" @bind-Value="_form.CaCertificatePath" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="/etc/ssl/certs/broker-ca.pem" />
|
||||
<div id="@FieldId("mqtt-ca-path-hint")" class="form-text">PEM file pinning the broker's chain. Blank uses the OS trust store.</div>
|
||||
</div>
|
||||
@if (_form.UseTls && _form.AllowUntrustedServerCertificate)
|
||||
{
|
||||
@@ -103,14 +104,14 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-4">
|
||||
<label class="form-label" for="mqtt-username">Username</label>
|
||||
<InputText id="mqtt-username" @bind-Value="_form.Username" @bind-Value:after="EmitAsync" class="form-control form-control-sm" autocomplete="off" />
|
||||
<div class="form-text">Blank connects without credentials.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-username")">Username</label>
|
||||
<InputText aria-describedby="@FieldIds("mqtt-username-hint")" id="@FieldId("mqtt-username")" @bind-Value="_form.Username" @bind-Value:after="EmitAsync" class="form-control form-control-sm" autocomplete="off" />
|
||||
<div id="@FieldId("mqtt-username-hint")" class="form-text">Blank connects without credentials.</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label" for="mqtt-password">Password</label>
|
||||
<InputText id="mqtt-password" @bind-Value="_form.Password" @bind-Value:after="EmitAsync" type="password" class="form-control form-control-sm" autocomplete="new-password" />
|
||||
<div class="form-text">Stored in the driver config and carried in the deployment artifact. Never written to a log.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-password")">Password</label>
|
||||
<InputText aria-describedby="@FieldIds("mqtt-password-hint")" id="@FieldId("mqtt-password")" @bind-Value="_form.Password" @bind-Value:after="EmitAsync" type="password" class="form-control form-control-sm" autocomplete="new-password" />
|
||||
<div id="@FieldId("mqtt-password-hint")" class="form-text">Stored in the driver config and carried in the deployment artifact. Never written to a log.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -122,40 +123,44 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-protocol-version">Protocol version</label>
|
||||
<InputSelect id="mqtt-protocol-version" @bind-Value="_form.ProtocolVersion" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
<label class="form-label" for="@FieldId("mqtt-protocol-version")">Protocol version</label>
|
||||
<InputSelect aria-describedby="@FieldIds("mqtt-protocol-version-hint")" id="@FieldId("mqtt-protocol-version")" @bind-Value="_form.ProtocolVersion" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
@foreach (var v in Enum.GetValues<MqttProtocolVersion>())
|
||||
{
|
||||
<option value="@v">@v</option>
|
||||
}
|
||||
</InputSelect>
|
||||
<div class="form-text">Default V500 (MQTT 5.0).</div>
|
||||
<div id="@FieldId("mqtt-protocol-version-hint")" class="form-text">Default V500 (MQTT 5.0).</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-check form-switch mt-4">
|
||||
<InputCheckbox @bind-Value="_form.CleanSession" @bind-Value:after="EmitAsync" class="form-check-input" id="mqtt-clean-session" />
|
||||
<label class="form-check-label" for="mqtt-clean-session">Clean session / clean start</label>
|
||||
<InputCheckbox @bind-Value="_form.CleanSession" @bind-Value:after="EmitAsync" class="form-check-input" id="@FieldId("mqtt-clean-session")" />
|
||||
<label class="form-check-label" for="@FieldId("mqtt-clean-session")">Clean session / clean start</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-keepalive">Keep-alive (seconds)</label>
|
||||
<InputNumber id="mqtt-keepalive" @bind-Value="_form.KeepAliveSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 30 s.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-keepalive")">Keep-alive (seconds)</label>
|
||||
<InputNumber DisplayName="Keep-alive (seconds)" aria-describedby="@FieldIds("mqtt-keepalive-error", "mqtt-keepalive-hint")" id="@FieldId("mqtt-keepalive")" @bind-Value="_form.KeepAliveSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("mqtt-keepalive-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.KeepAliveSeconds)" /> }</div>
|
||||
<div id="@FieldId("mqtt-keepalive-hint")" class="form-text">Default 30 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-connect-timeout">Connect timeout (seconds)</label>
|
||||
<InputNumber id="mqtt-connect-timeout" @bind-Value="_form.ConnectTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 15 s. Must be at least 1 — also bounds Test connect.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-connect-timeout")">Connect timeout (seconds)</label>
|
||||
<InputNumber DisplayName="Connect timeout (seconds)" aria-describedby="@FieldIds("mqtt-connect-timeout-error", "mqtt-connect-timeout-hint")" id="@FieldId("mqtt-connect-timeout")" @bind-Value="_form.ConnectTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("mqtt-connect-timeout-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ConnectTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("mqtt-connect-timeout-hint")" class="form-text">Default 15 s. Must be at least 1 — also bounds Test connect.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-backoff-min">Reconnect min backoff (seconds)</label>
|
||||
<InputNumber id="mqtt-backoff-min" @bind-Value="_form.ReconnectMinBackoffSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 1 s.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-backoff-min")">Reconnect min backoff (seconds)</label>
|
||||
<InputNumber DisplayName="Reconnect min backoff (seconds)" aria-describedby="@FieldIds("mqtt-backoff-min-error", "mqtt-backoff-min-hint")" id="@FieldId("mqtt-backoff-min")" @bind-Value="_form.ReconnectMinBackoffSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("mqtt-backoff-min-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ReconnectMinBackoffSeconds)" /> }</div>
|
||||
<div id="@FieldId("mqtt-backoff-min-hint")" class="form-text">Default 1 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-backoff-max">Reconnect max backoff (seconds)</label>
|
||||
<InputNumber id="mqtt-backoff-max" @bind-Value="_form.ReconnectMaxBackoffSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 30 s. Caps the exponential backoff.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-backoff-max")">Reconnect max backoff (seconds)</label>
|
||||
<InputNumber DisplayName="Reconnect max backoff (seconds)" aria-describedby="@FieldIds("mqtt-backoff-max-error", "mqtt-backoff-max-hint")" id="@FieldId("mqtt-backoff-max")" @bind-Value="_form.ReconnectMaxBackoffSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("mqtt-backoff-max-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.ReconnectMaxBackoffSeconds)" /> }</div>
|
||||
<div id="@FieldId("mqtt-backoff-max-hint")" class="form-text">Default 30 s. Caps the exponential backoff.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -167,39 +172,40 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-mode">Mode</label>
|
||||
<InputSelect id="mqtt-mode" @bind-Value="_form.Mode" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
<label class="form-label" for="@FieldId("mqtt-mode")">Mode</label>
|
||||
<InputSelect aria-describedby="@FieldIds("mqtt-mode-hint")" id="@FieldId("mqtt-mode")" @bind-Value="_form.Mode" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
@foreach (var v in Enum.GetValues<MqttMode>())
|
||||
{
|
||||
<option value="@v">@v</option>
|
||||
}
|
||||
</InputSelect>
|
||||
<div class="form-text">Plain = topic-bound tags. Sparkplug B = birth-described metrics under one group.</div>
|
||||
<div id="@FieldId("mqtt-mode-hint")" class="form-text">Plain = topic-bound tags. Sparkplug B = birth-described metrics under one group.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-max-payload">Max payload bytes</label>
|
||||
<InputNumber id="mqtt-max-payload" @bind-Value="_form.MaxPayloadBytes" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 1048576 (1 MiB). A larger message is refused before decode.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-max-payload")">Max payload bytes</label>
|
||||
<InputNumber DisplayName="Max payload bytes" aria-describedby="@FieldIds("mqtt-max-payload-error", "mqtt-max-payload-hint")" id="@FieldId("mqtt-max-payload")" @bind-Value="_form.MaxPayloadBytes" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("mqtt-max-payload-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.MaxPayloadBytes)" /> }</div>
|
||||
<div id="@FieldId("mqtt-max-payload-hint")" class="form-text">Default 1048576 (1 MiB). A larger message is refused before decode.</div>
|
||||
</div>
|
||||
|
||||
@if (_form.Mode == MqttMode.Plain)
|
||||
{
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-topic-prefix">Topic prefix (optional)</label>
|
||||
<InputText id="mqtt-topic-prefix" @bind-Value="_form.TopicPrefix" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="otopcua/fixture/" />
|
||||
<div class="form-text">Scopes browse/discovery. Per-tag topics are authored explicitly and unaffected.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-topic-prefix")">Topic prefix (optional)</label>
|
||||
<InputText aria-describedby="@FieldIds("mqtt-topic-prefix-hint")" id="@FieldId("mqtt-topic-prefix")" @bind-Value="_form.TopicPrefix" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="otopcua/fixture/" />
|
||||
<div id="@FieldId("mqtt-topic-prefix-hint")" class="form-text">Scopes browse/discovery. Per-tag topics are authored explicitly and unaffected.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-default-qos">Default QoS</label>
|
||||
<label class="form-label" for="@FieldId("mqtt-default-qos")">Default QoS</label>
|
||||
@* A plain select, not InputSelect: InputSelect<T> natively parses string + enum only,
|
||||
and QoS is an int. Same control shape MqttTagConfigEditor uses for per-tag QoS. *@
|
||||
<select id="mqtt-default-qos" class="form-select form-select-sm" value="@_form.DefaultQos"
|
||||
<select aria-describedby="@FieldIds("mqtt-default-qos-hint")" id="@FieldId("mqtt-default-qos")" class="form-select form-select-sm" value="@_form.DefaultQos"
|
||||
@onchange="@(e => OnDefaultQosChangedAsync(e.Value))">
|
||||
<option value="0" selected="@(_form.DefaultQos == 0)">0 — at most once</option>
|
||||
<option value="1" selected="@(_form.DefaultQos == 1)">1 — at least once</option>
|
||||
<option value="2" selected="@(_form.DefaultQos == 2)">2 — exactly once</option>
|
||||
</select>
|
||||
<div class="form-text">Applied when a tag's own QoS is unset.</div>
|
||||
<div id="@FieldId("mqtt-default-qos-hint")" class="form-text">Applied when a tag's own QoS is unset.</div>
|
||||
</div>
|
||||
}
|
||||
else
|
||||
@@ -210,32 +216,33 @@
|
||||
on this form it is ADVISORY — DriverConfigModal saves regardless — which is why the
|
||||
model clamps on serialize instead of relying on the operator reading the notice. *@
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-spb-group">Group ID</label>
|
||||
<InputText id="mqtt-spb-group" @bind-Value="_form.SparkplugGroupId" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="Plant1" />
|
||||
<div class="form-text">
|
||||
<label class="form-label" for="@FieldId("mqtt-spb-group")">Group ID</label>
|
||||
<InputText aria-describedby="@FieldIds("mqtt-spb-group-hint")" id="@FieldId("mqtt-spb-group")" @bind-Value="_form.SparkplugGroupId" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="Plant1" />
|
||||
<div id="@FieldId("mqtt-spb-group-hint")" class="form-text">
|
||||
Subscribes <code class="mono">spBv1.0/@(string.IsNullOrWhiteSpace(_form.SparkplugGroupId) ? "{GroupId}" : _form.SparkplugGroupId)/#</code>.
|
||||
No <code>/</code>, <code>+</code>, or <code>#</code>.
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-spb-window">Birth observation window (seconds)</label>
|
||||
<InputNumber id="mqtt-spb-window" @bind-Value="_form.SparkplugBirthObservationWindowSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 15 s. How long browse/discovery collects births before calling the metric set stable.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-spb-window")">Birth observation window (seconds)</label>
|
||||
<InputNumber DisplayName="Birth observation window (seconds)" aria-describedby="@FieldIds("mqtt-spb-window-error", "mqtt-spb-window-hint")" id="@FieldId("mqtt-spb-window")" @bind-Value="_form.SparkplugBirthObservationWindowSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("mqtt-spb-window-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.SparkplugBirthObservationWindowSeconds)" /> }</div>
|
||||
<div id="@FieldId("mqtt-spb-window-hint")" class="form-text">Default 15 s. How long browse/discovery collects births before calling the metric set stable.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label" for="mqtt-spb-host">Host ID (optional)</label>
|
||||
<InputText id="mqtt-spb-host" @bind-Value="_form.SparkplugHostId" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="scada-primary" />
|
||||
<div class="form-text">Sparkplug Host Application identity — the <code class="mono">spBv1.0/STATE/{hostId}</code> topic. Required to act as Primary Host.</div>
|
||||
<label class="form-label" for="@FieldId("mqtt-spb-host")">Host ID (optional)</label>
|
||||
<InputText aria-describedby="@FieldIds("mqtt-spb-host-hint")" id="@FieldId("mqtt-spb-host")" @bind-Value="_form.SparkplugHostId" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="scada-primary" />
|
||||
<div id="@FieldId("mqtt-spb-host-hint")" class="form-text">Sparkplug Host Application identity — the <code class="mono">spBv1.0/STATE/{hostId}</code> topic. Required to act as Primary Host.</div>
|
||||
</div>
|
||||
<div class="col-md-3 d-flex flex-column justify-content-center">
|
||||
<div class="form-check form-switch">
|
||||
<InputCheckbox id="mqtt-spb-rebirth" @bind-Value="_form.SparkplugRequestRebirthOnGap" @bind-Value:after="EmitAsync" class="form-check-input" />
|
||||
<label class="form-check-label" for="mqtt-spb-rebirth">Request rebirth on sequence gap</label>
|
||||
<InputCheckbox id="@FieldId("mqtt-spb-rebirth")" @bind-Value="_form.SparkplugRequestRebirthOnGap" @bind-Value:after="EmitAsync" class="form-check-input" />
|
||||
<label class="form-check-label" for="@FieldId("mqtt-spb-rebirth")">Request rebirth on sequence gap</label>
|
||||
</div>
|
||||
<div class="form-text mb-2">A detected seq gap asks the edge node to re-announce (NCMD), rather than running on stale metric state.</div>
|
||||
<div class="form-check form-switch">
|
||||
<InputCheckbox id="mqtt-spb-primary" @bind-Value="_form.SparkplugActAsPrimaryHost" @bind-Value:after="EmitAsync" class="form-check-input" />
|
||||
<label class="form-check-label" for="mqtt-spb-primary">
|
||||
<InputCheckbox id="@FieldId("mqtt-spb-primary")" @bind-Value="_form.SparkplugActAsPrimaryHost" @bind-Value:after="EmitAsync" class="form-check-input" />
|
||||
<label class="form-check-label" for="@FieldId("mqtt-spb-primary")">
|
||||
Act as Primary Host
|
||||
</label>
|
||||
</div>
|
||||
@@ -295,6 +302,11 @@
|
||||
<DriverResilienceSection ResilienceConfig="@ResilienceConfig" ResilienceConfigChanged="OnResilienceChanged" />
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "mqtt-driver-form-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId));
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
[CascadingParameter] private Microsoft.AspNetCore.Components.Forms.EditContext? _fieldEditContext { get; set; }
|
||||
|
||||
/// <summary>The driver-level DriverConfig JSON (broker connection + ingest mode).</summary>
|
||||
[Parameter] public string DriverConfigJson { get; set; } = "{}";
|
||||
/// <summary>Fired whenever a field changes — enables @bind-DriverConfigJson.</summary>
|
||||
|
||||
+95
-78
@@ -13,55 +13,61 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Browse root NodeId (blank = ObjectsFolder)</label>
|
||||
<InputText @bind-Value="_form.OpcUa.BrowseRoot" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="i=85" />
|
||||
<div class="form-text">Restrict mirroring to a sub-tree.</div>
|
||||
<label for="@FieldId("field-01")" class="form-label">Browse root NodeId (blank = ObjectsFolder)</label>
|
||||
<InputText aria-describedby="@FieldIds("field-01-hint")" id="@FieldId("field-01")" @bind-Value="_form.OpcUa.BrowseRoot" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="i=85" />
|
||||
<div id="@FieldId("field-01-hint")" class="form-text">Restrict mirroring to a sub-tree.</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Application URI</label>
|
||||
<InputText @bind-Value="_form.OpcUa.ApplicationUri" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" />
|
||||
<label for="@FieldId("field-02")" class="form-label">Application URI</label>
|
||||
<InputText id="@FieldId("field-02")" @bind-Value="_form.OpcUa.ApplicationUri" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" />
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Session name</label>
|
||||
<InputText @bind-Value="_form.OpcUa.SessionName" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<label for="@FieldId("field-03")" class="form-label">Session name</label>
|
||||
<InputText id="@FieldId("field-03")" @bind-Value="_form.OpcUa.SessionName" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-check form-switch mt-4">
|
||||
<InputCheckbox @bind-Value="_form.OpcUa.AutoAcceptCertificates" @bind-Value:after="EmitAsync" class="form-check-input" id="autoAcceptCerts" />
|
||||
<label class="form-check-label" for="autoAcceptCerts">Auto-accept certificates <span class="badge bg-warning text-dark">Dev only</span></label>
|
||||
<InputCheckbox @bind-Value="_form.OpcUa.AutoAcceptCertificates" @bind-Value:after="EmitAsync" class="form-check-input" id="@FieldId("autoAcceptCerts")" />
|
||||
<label class="form-check-label" for="@FieldId("autoAcceptCerts")">Auto-accept certificates <span class="badge bg-warning text-dark">Dev only</span></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row g-3 mt-1">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Per-endpoint connect timeout (s)</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.PerEndpointConnectTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 3 s — failover sweep budget.</div>
|
||||
<label for="@FieldId("field-05")" class="form-label">Per-endpoint connect timeout (s)</label>
|
||||
<InputNumber DisplayName="Per-endpoint connect timeout (s)" aria-describedby="@FieldIds("field-05-error", "field-05-hint")" id="@FieldId("field-05")" @bind-Value="_form.OpcUa.PerEndpointConnectTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-05-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.PerEndpointConnectTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-05-hint")" class="form-text">Default 3 s — failover sweep budget.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Operation timeout (s)</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.TimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 10 s — steady-state reads/writes.</div>
|
||||
<label for="@FieldId("field-06")" class="form-label">Operation timeout (s)</label>
|
||||
<InputNumber DisplayName="Operation timeout (s)" aria-describedby="@FieldIds("field-06-error", "field-06-hint")" id="@FieldId("field-06")" @bind-Value="_form.OpcUa.TimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-06-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.TimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-06-hint")" class="form-text">Default 10 s — steady-state reads/writes.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Session timeout (s)</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.SessionTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 120 s.</div>
|
||||
<label for="@FieldId("field-07")" class="form-label">Session timeout (s)</label>
|
||||
<InputNumber DisplayName="Session timeout (s)" aria-describedby="@FieldIds("field-07-error", "field-07-hint")" id="@FieldId("field-07")" @bind-Value="_form.OpcUa.SessionTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-07-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.SessionTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-07-hint")" class="form-text">Default 120 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Keep-alive interval (s)</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.KeepAliveIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 5 s.</div>
|
||||
<label for="@FieldId("field-08")" class="form-label">Keep-alive interval (s)</label>
|
||||
<InputNumber DisplayName="Keep-alive interval (s)" aria-describedby="@FieldIds("field-08-error", "field-08-hint")" id="@FieldId("field-08")" @bind-Value="_form.OpcUa.KeepAliveIntervalSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-08-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.KeepAliveIntervalSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-08-hint")" class="form-text">Default 5 s.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Max discovered nodes</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.MaxDiscoveredNodes" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 10000.</div>
|
||||
<label for="@FieldId("field-09")" class="form-label">Max discovered nodes</label>
|
||||
<InputNumber DisplayName="Max discovered nodes" aria-describedby="@FieldIds("field-09-error", "field-09-hint")" id="@FieldId("field-09")" @bind-Value="_form.OpcUa.MaxDiscoveredNodes" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-09-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.MaxDiscoveredNodes)" /> }</div>
|
||||
<div id="@FieldId("field-09-hint")" class="form-text">Default 10000.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Max browse depth</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.MaxBrowseDepth" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 10.</div>
|
||||
<label for="@FieldId("field-10")" class="form-label">Max browse depth</label>
|
||||
<InputNumber DisplayName="Max browse depth" aria-describedby="@FieldIds("field-10-error", "field-10-hint")" id="@FieldId("field-10")" @bind-Value="_form.OpcUa.MaxBrowseDepth" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-10-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.MaxBrowseDepth)" /> }</div>
|
||||
<div id="@FieldId("field-10-hint")" class="form-text">Default 10.</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row g-3 mt-1">
|
||||
@@ -77,10 +83,10 @@
|
||||
<td class="mono">@e.Url</td>
|
||||
</RowTemplate>
|
||||
<EditTemplate Context="e">
|
||||
<label class="form-label">Endpoint URL</label>
|
||||
<input class="form-control form-control-sm mono" @bind="e.Url"
|
||||
<label for="@FieldId("field-11")" class="form-label">Endpoint URL</label>
|
||||
<input aria-describedby="@FieldIds("field-11-hint")" id="@FieldId("field-11")" class="form-control form-control-sm mono" @bind="e.Url"
|
||||
placeholder="opc.tcp://plc.internal:4840" />
|
||||
<div class="form-text">Failover list. The per-device Endpoint URL (on the device) is used only when this list is empty.</div>
|
||||
<div id="@FieldId("field-11-hint")" class="form-text">Failover list. The per-device Endpoint URL (on the device) is used only when this list is empty.</div>
|
||||
</EditTemplate>
|
||||
</CollectionEditor>
|
||||
</div>
|
||||
@@ -94,8 +100,8 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Security mode</label>
|
||||
<InputSelect @bind-Value="_form.OpcUa.SecurityMode" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
<label for="@FieldId("field-12")" class="form-label">Security mode</label>
|
||||
<InputSelect id="@FieldId("field-12")" @bind-Value="_form.OpcUa.SecurityMode" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
@foreach (var e in Enum.GetValues<OpcUaSecurityMode>())
|
||||
{
|
||||
<option value="@e">@e</option>
|
||||
@@ -103,8 +109,8 @@
|
||||
</InputSelect>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Security policy</label>
|
||||
<InputSelect @bind-Value="_form.OpcUa.SecurityPolicy" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
<label for="@FieldId("field-13")" class="form-label">Security policy</label>
|
||||
<InputSelect id="@FieldId("field-13")" @bind-Value="_form.OpcUa.SecurityPolicy" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
@foreach (var e in Enum.GetValues<OpcUaSecurityPolicy>())
|
||||
{
|
||||
<option value="@e">@e</option>
|
||||
@@ -114,8 +120,8 @@
|
||||
@* #816 / #837: opt-in by owner decision (unset = off). Kept in the Security panel so it is
|
||||
found next to the mode/policy it depends on; "Default (off)" leaves the key absent. *@
|
||||
<div class="col-md-4">
|
||||
<label class="form-label" for="opcuaValidateHostName">Server certificate host-name check</label>
|
||||
<InputSelect id="opcuaValidateHostName" @bind-Value="_form.OpcUa.ValidateServerHostName" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
<label class="form-label" for="@FieldId("opcuaValidateHostName")">Server certificate host-name check</label>
|
||||
<InputSelect id="@FieldId("opcuaValidateHostName")" @bind-Value="_form.OpcUa.ValidateServerHostName" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
<option value="">Default (off)</option>
|
||||
<option value="true">Validate configured host</option>
|
||||
<option value="false">Off (NAT / port publish)</option>
|
||||
@@ -145,8 +151,8 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Auth type</label>
|
||||
<InputSelect @bind-Value="_form.OpcUa.AuthType" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
<label for="@FieldId("field-15")" class="form-label">Auth type</label>
|
||||
<InputSelect id="@FieldId("field-15")" @bind-Value="_form.OpcUa.AuthType" @bind-Value:after="EmitAsync" class="form-select form-select-sm">
|
||||
@foreach (var e in Enum.GetValues<OpcUaAuthType>())
|
||||
{
|
||||
<option value="@e">@e</option>
|
||||
@@ -156,27 +162,27 @@
|
||||
@if (_form.OpcUa.AuthType == OpcUaAuthType.Username)
|
||||
{
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Username</label>
|
||||
<InputText @bind-Value="_form.OpcUa.Username" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<label for="@FieldId("field-16")" class="form-label">Username</label>
|
||||
<InputText id="@FieldId("field-16")" @bind-Value="_form.OpcUa.Username" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Password</label>
|
||||
<InputText @bind-Value="_form.OpcUa.Password" @bind-Value:after="EmitAsync" type="password" class="form-control form-control-sm" autocomplete="new-password" />
|
||||
<div class="form-text">Literal, <code>secret:opcuaclient/NAME</code> or <code>env:OTOPCUA_OPCUACLIENT_NAME</code>. Other references are refused (#815).</div>
|
||||
<label for="@FieldId("field-17")" class="form-label">Password</label>
|
||||
<InputText aria-describedby="@FieldIds("field-17-hint")" id="@FieldId("field-17")" @bind-Value="_form.OpcUa.Password" @bind-Value:after="EmitAsync" type="password" class="form-control form-control-sm" autocomplete="new-password" />
|
||||
<div id="@FieldId("field-17-hint")" class="form-text">Literal, <code>secret:opcuaclient/NAME</code> or <code>env:OTOPCUA_OPCUACLIENT_NAME</code>. Other references are refused (#815).</div>
|
||||
</div>
|
||||
}
|
||||
@if (_form.OpcUa.AuthType == OpcUaAuthType.Certificate)
|
||||
{
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">User certificate path (PFX/PEM)</label>
|
||||
<InputText @bind-Value="_form.OpcUa.UserCertificatePath" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono"
|
||||
<label for="@FieldId("field-18")" class="form-label">User certificate path (PFX/PEM)</label>
|
||||
<InputText aria-describedby="@FieldIds("field-18-hint")" id="@FieldId("field-18")" @bind-Value="_form.OpcUa.UserCertificatePath" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono"
|
||||
placeholder="plant1/user.pfx" />
|
||||
<div class="form-text">Relative path inside the node's user-certificate directory (<code>Drivers:OpcUaClient:UserCertificateDirectory</code>, default <code><LocalAppData>/OtOpcUa/pki/user-certificates</code>). Absolute paths and <code>..</code> are refused (#836).</div>
|
||||
<div id="@FieldId("field-18-hint")" class="form-text">Relative path inside the node's user-certificate directory (<code>Drivers:OpcUaClient:UserCertificateDirectory</code>, default <code><LocalAppData>/OtOpcUa/pki/user-certificates</code>). Absolute paths and <code>..</code> are refused (#836).</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Certificate password (if PFX-locked)</label>
|
||||
<InputText @bind-Value="_form.OpcUa.UserCertificatePassword" @bind-Value:after="EmitAsync" type="password" class="form-control form-control-sm" autocomplete="new-password" />
|
||||
<div class="form-text">Literal, <code>secret:opcuaclient/NAME</code> or <code>env:OTOPCUA_OPCUACLIENT_NAME</code>.</div>
|
||||
<label for="@FieldId("field-19")" class="form-label">Certificate password (if PFX-locked)</label>
|
||||
<InputText aria-describedby="@FieldIds("field-19-hint")" id="@FieldId("field-19")" @bind-Value="_form.OpcUa.UserCertificatePassword" @bind-Value:after="EmitAsync" type="password" class="form-control form-control-sm" autocomplete="new-password" />
|
||||
<div id="@FieldId("field-19-hint")" class="form-text">Literal, <code>secret:opcuaclient/NAME</code> or <code>env:OTOPCUA_OPCUACLIENT_NAME</code>.</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
@@ -189,50 +195,55 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Publishing interval override (ms)</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.SubscriptionPublishingIntervalMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Blank = use the interval the runtime requests per subscription.</div>
|
||||
<label for="@FieldId("field-20")" class="form-label">Publishing interval override (ms)</label>
|
||||
<InputNumber DisplayName="Publishing interval override (ms)" aria-describedby="@FieldIds("field-20-error", "field-20-hint")" id="@FieldId("field-20")" @bind-Value="_form.OpcUa.SubscriptionPublishingIntervalMs" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-20-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.SubscriptionPublishingIntervalMs)" /> }</div>
|
||||
<div id="@FieldId("field-20-hint")" class="form-text">Blank = use the interval the runtime requests per subscription.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Keep-alive count</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.SubscriptionKeepAliveCount" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 10.</div>
|
||||
<label for="@FieldId("field-21")" class="form-label">Keep-alive count</label>
|
||||
<InputNumber DisplayName="Keep-alive count" aria-describedby="@FieldIds("field-21-error", "field-21-hint")" id="@FieldId("field-21")" @bind-Value="_form.OpcUa.SubscriptionKeepAliveCount" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-21-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.SubscriptionKeepAliveCount)" /> }</div>
|
||||
<div id="@FieldId("field-21-hint")" class="form-text">Default 10.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Lifetime count</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.SubscriptionLifetimeCount" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">Default 1000; at least 3x keep-alive count.</div>
|
||||
<label for="@FieldId("field-22")" class="form-label">Lifetime count</label>
|
||||
<InputNumber DisplayName="Lifetime count" aria-describedby="@FieldIds("field-22-error", "field-22-hint")" id="@FieldId("field-22")" @bind-Value="_form.OpcUa.SubscriptionLifetimeCount" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-22-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.SubscriptionLifetimeCount)" /> }</div>
|
||||
<div id="@FieldId("field-22-hint")" class="form-text">Default 1000; at least 3x keep-alive count.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Max notifications per publish</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.SubscriptionMaxNotificationsPerPublish" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">0 = server decides.</div>
|
||||
<label for="@FieldId("field-23")" class="form-label">Max notifications per publish</label>
|
||||
<InputNumber DisplayName="Max notifications per publish" aria-describedby="@FieldIds("field-23-error", "field-23-hint")" id="@FieldId("field-23")" @bind-Value="_form.OpcUa.SubscriptionMaxNotificationsPerPublish" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-23-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.SubscriptionMaxNotificationsPerPublish)" /> }</div>
|
||||
<div id="@FieldId("field-23-hint")" class="form-text">0 = server decides.</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Subscription priority (0-255)</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.SubscriptionPriority" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<label for="@FieldId("field-24")" class="form-label">Subscription priority (0-255)</label>
|
||||
<InputNumber DisplayName="Subscription priority (0-255)" aria-describedby="@FieldId("field-24-error")" id="@FieldId("field-24")" @bind-Value="_form.OpcUa.SubscriptionPriority" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-24-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.SubscriptionPriority)" /> }</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-check form-switch mt-4">
|
||||
<InputCheckbox @bind-Value="_form.OpcUa.RejectUnknownRevocationStatus" @bind-Value:after="EmitAsync" class="form-check-input" id="rejectUnkRevocation" />
|
||||
<label class="form-check-label" for="rejectUnkRevocation">Reject unknown revocation status</label>
|
||||
<InputCheckbox aria-describedby="@FieldIds("rejectUnkRevocation-hint")" @bind-Value="_form.OpcUa.RejectUnknownRevocationStatus" @bind-Value:after="EmitAsync" class="form-check-input" id="@FieldId("rejectUnkRevocation")" />
|
||||
<label class="form-check-label" for="@FieldId("rejectUnkRevocation")">Reject unknown revocation status</label>
|
||||
</div>
|
||||
<div class="form-text">Revoked certificates are always rejected.</div>
|
||||
<div id="@FieldId("rejectUnkRevocation-hint")" class="form-text">Revoked certificates are always rejected.</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Issuer store / CRL directory</label>
|
||||
<InputText @bind-Value="_form.OpcUa.IssuerStorePath" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" />
|
||||
<div class="form-text">CRLs are read from its <code>crl/</code> sub-folder. Blank = default PKI store.</div>
|
||||
<label for="@FieldId("field-26")" class="form-label">Issuer store / CRL directory</label>
|
||||
<InputText aria-describedby="@FieldIds("field-26-hint")" id="@FieldId("field-26")" @bind-Value="_form.OpcUa.IssuerStorePath" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" />
|
||||
<div id="@FieldId("field-26-hint")" class="form-text">CRLs are read from its <code>crl/</code> sub-folder. Blank = default PKI store.</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Discovery URL (FindServers)</label>
|
||||
<InputText @bind-Value="_form.OpcUa.DiscoveryUrl" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="opc.tcp://lds:4840" />
|
||||
<div class="form-text">Optional. Discovered endpoints are tried after the failover list.</div>
|
||||
<label for="@FieldId("field-27")" class="form-label">Discovery URL (FindServers)</label>
|
||||
<InputText aria-describedby="@FieldIds("field-27-hint")" id="@FieldId("field-27")" @bind-Value="_form.OpcUa.DiscoveryUrl" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" placeholder="opc.tcp://lds:4840" />
|
||||
<div id="@FieldId("field-27-hint")" class="form-text">Optional. Discovered endpoints are tried after the failover list.</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Discovery server ApplicationUri</label>
|
||||
<InputText @bind-Value="_form.OpcUa.DiscoveryServerUri" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" />
|
||||
<div class="form-text">Required when the discovery server lists more than one server.</div>
|
||||
<label for="@FieldId("field-28")" class="form-label">Discovery server ApplicationUri</label>
|
||||
<InputText aria-describedby="@FieldIds("field-28-hint")" id="@FieldId("field-28")" @bind-Value="_form.OpcUa.DiscoveryServerUri" @bind-Value:after="EmitAsync" class="form-control form-control-sm mono" />
|
||||
<div id="@FieldId("field-28-hint")" class="form-text">Required when the discovery server lists more than one server.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -244,9 +255,10 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Admin UI probe timeout (seconds)</label>
|
||||
<InputNumber @bind-Value="_form.OpcUa.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div class="form-text">The Test Connect probe budget (1–60 s). Default 15.</div>
|
||||
<label for="@FieldId("field-29")" class="form-label">Admin UI probe timeout (seconds)</label>
|
||||
<InputNumber DisplayName="Admin UI probe timeout (seconds)" aria-describedby="@FieldIds("field-29-error", "field-29-hint")" id="@FieldId("field-29")" @bind-Value="_form.OpcUa.ProbeTimeoutSeconds" @bind-Value:after="EmitAsync" class="form-control form-control-sm" />
|
||||
<div id="@FieldId("field-29-error")" class="field-error">@if (_fieldEditContext is not null) { <ValidationMessage For="@(() => _form.OpcUa.ProbeTimeoutSeconds)" /> }</div>
|
||||
<div id="@FieldId("field-29-hint")" class="form-text">The Test Connect probe budget (1–60 s). Default 15.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -255,6 +267,11 @@
|
||||
<DriverResilienceSection ResilienceConfig="@ResilienceConfig" ResilienceConfigChanged="OnResilienceChanged" />
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "opc-ua-client-driver-form-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldIds(params string[] names) => string.Join(" ", names.Select(FieldId));
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
[CascadingParameter] private Microsoft.AspNetCore.Components.Forms.EditContext? _fieldEditContext { get; set; }
|
||||
|
||||
[Parameter] public string DriverConfigJson { get; set; } = "{}";
|
||||
[Parameter] public EventCallback<string> DriverConfigJsonChanged { get; set; }
|
||||
[Parameter] public string? ResilienceConfig { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user