Name common identity resilience and static builder fields
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Common control field checkpoint
|
||||
|
||||
First5 actual component cases failed before association: three static address builders had unnamed inputs, identity repeated literal IDs, and resilience table inputs had no names. Existing native geometry is retained. Static builder labels now use per-instance IDs; identity errors and driver-type help resolve to their named fields. Resilience fields derive names from actual visible capability row and option column headers using per-instance aria-labelledby targets. Existing policy/default/clamping/emitted JSON and builder bodies are unchanged.
|
||||
|
||||
5repeated-instance field checks plus existing builder/model regression coverage pass62/62. Remaining live-browser picker bodies and tree controls are not yet accepted by this checkpoint.
|
||||
@@ -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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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 -> /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.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.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.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.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.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.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.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.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.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.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.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: 62, Skipped: 0, Total: 62, Duration: 188 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
@@ -0,0 +1,131 @@
|
||||
|
||||
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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.
|
||||
[xUnit.net 00:00:01.36] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.ModbusAddressPickerBody)) [FAIL]
|
||||
[xUnit.net 00:00:01.37] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DriverIdentitySection)) [FAIL]
|
||||
[xUnit.net 00:00:01.38] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DriverResilienceSection)) [FAIL]
|
||||
[xUnit.net 00:00:01.38] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.AbLegacyAddressPickerBody)) [FAIL]
|
||||
[xUnit.net 00:00:01.38] ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.S7AddressPickerBody)) [FAIL]
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.ModbusAddressPickerBody)) [173 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<select class="form-select form-select-sm" value="Holding" blazor:onchange="1"><option value="Coil">Coil (0x)</option>
|
||||
<option value="DiscreteInput">DiscreteInput (1x)</option>
|
||||
<option value="Input">Input (3x)</option>
|
||||
<option value="Holding" selected="">Holding (4x)</option></select>
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 52
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 38
|
||||
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DriverIdentitySection)) [17 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : ids.Distinct(StringComparer.Ordinal).Count()
|
||||
should be
|
||||
8
|
||||
but was
|
||||
4
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 44
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 38
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.DriverResilienceSection)) [6 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<input type="number" class="form-control form-control-sm" placeholder="default" blazor:onchange="1">
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 52
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 38
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.AbLegacyAddressPickerBody)) [1 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<select class="form-select form-select-sm" value="N" blazor:onchange="1"><option value="N" selected="">N — Integer</option>
|
||||
<option value="B">B — Binary/Bit</option>
|
||||
<option value="F">F — Float</option>
|
||||
<option value="I">I — Input</option>
|
||||
<option value="O">O — Output</option>
|
||||
<option value="S">S — Status</option>
|
||||
<option value="T">T — Timer</option>
|
||||
<option value="C">C — Counter</option>
|
||||
<option value="R">R — Control</option></select>
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 52
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 38
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
Failed ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(type: typeof(ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers.S7AddressPickerBody)) [2 ms]
|
||||
Error Message:
|
||||
Shouldly.ShouldAssertException : name (null)
|
||||
should not be null or white space
|
||||
|
||||
Additional Info:
|
||||
<select class="form-select form-select-sm" value="DB" blazor:onchange="1"><option value="DB" selected="">DB — Data Block</option>
|
||||
<option value="M">M — Merker</option>
|
||||
<option value="I">I — Input</option>
|
||||
<option value="Q">Q — Output</option></select>
|
||||
Stack Trace:
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.AssertRelationships(IRenderedComponent`1 cut) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 52
|
||||
at ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages.CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Type type) in /Users/dohertj2/Desktop/OtOpcUa/tests/Server/ZB.MOM.WW.OtOpcUa.AdminUI.Tests/Pages/CommonControlAccessibilityTests.cs:line 38
|
||||
at InvokeStub_CommonControlAccessibilityTests.CommonFields_TwoInstancesHaveResolvedNames(Object, Span`1)
|
||||
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
|
||||
|
||||
Failed! - Failed: 5, Passed: 0, Skipped: 0, Total: 5, Duration: 209 ms - ZB.MOM.WW.OtOpcUa.AdminUI.Tests.dll (net10.0)
|
||||
+15
-12
@@ -8,25 +8,25 @@
|
||||
<div style="padding:1rem">
|
||||
<div class="row">
|
||||
<div class="col-md-6 mb-3">
|
||||
<label class="form-label" for="instId">DriverInstanceId</label>
|
||||
<InputText id="instId" @bind-Value="Model.DriverInstanceId" disabled="@(!IsNew)"
|
||||
<label class="form-label" for="@FieldId("instId")">DriverInstanceId</label>
|
||||
<InputText aria-describedby="@FieldId("instId-error")" id="@FieldId("instId")" @bind-Value="Model.DriverInstanceId" disabled="@(!IsNew)"
|
||||
class="form-control form-control-sm mono"
|
||||
placeholder="drv-modbus-line3-01" />
|
||||
<ValidationMessage For="@(() => Model.DriverInstanceId)" />
|
||||
<div id="@FieldId("instId-error")"><ValidationMessage For="@(() => Model.DriverInstanceId)" /></div>
|
||||
</div>
|
||||
<div class="col-md-6 mb-3">
|
||||
<label class="form-label" for="name">Display name</label>
|
||||
<InputText id="name" @bind-Value="Model.Name" class="form-control form-control-sm"
|
||||
<label class="form-label" for="@FieldId("name")">Display name</label>
|
||||
<InputText aria-describedby="@FieldId("name-error")" id="@FieldId("name")" @bind-Value="Model.Name" class="form-control form-control-sm"
|
||||
placeholder="Line 3 Modbus" />
|
||||
<ValidationMessage For="@(() => Model.Name)" />
|
||||
<div id="@FieldId("name-error")"><ValidationMessage For="@(() => Model.Name)" /></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@if (ShowDriverType)
|
||||
{
|
||||
<div class="col-md-6 mb-3">
|
||||
<label class="form-label" for="dtype">Driver type</label>
|
||||
<InputSelect id="dtype" @bind-Value="Model.DriverType" disabled="@(!IsNew)"
|
||||
<label class="form-label" for="@FieldId("dtype")">Driver type</label>
|
||||
<InputSelect aria-describedby="@FieldId("dtype-hint")" id="@FieldId("dtype")" @bind-Value="Model.DriverType" disabled="@(!IsNew)"
|
||||
class="form-select form-select-sm">
|
||||
<option value="Modbus">Modbus TCP</option>
|
||||
<option value="AbCip">AbCip</option>
|
||||
@@ -38,21 +38,24 @@
|
||||
<option value="GalaxyMxGateway">Galaxy</option>
|
||||
<option value="Sql">Sql</option>
|
||||
</InputSelect>
|
||||
<div class="form-text">Cannot be changed after creation — drives the actor type that owns this instance.</div>
|
||||
<div id="@FieldId("dtype-hint")" class="form-text">Cannot be changed after creation — drives the actor type that owns this instance.</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label" for="enabled">Enabled</label>
|
||||
<label class="form-label" for="@FieldId("enabled")">Enabled</label>
|
||||
<div class="form-check form-switch">
|
||||
<InputCheckbox id="enabled" @bind-Value="Model.Enabled" class="form-check-input" />
|
||||
<label class="form-check-label" for="enabled">Spawn this driver in deployments</label>
|
||||
<InputCheckbox id="@FieldId("enabled")" @bind-Value="Model.Enabled" class="form-check-input" />
|
||||
<label class="form-check-label" for="@FieldId("enabled")">Spawn this driver in deployments</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "driver-identity-section-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter, EditorRequired] public DriverIdentityModel Model { get; set; } = new();
|
||||
[Parameter] public bool IsNew { get; set; }
|
||||
[Parameter] public bool ShowDriverType { get; set; }
|
||||
|
||||
+8
-5
@@ -29,17 +29,17 @@
|
||||
|
||||
<div class="table-wrap mt-3">
|
||||
<table class="data-table">
|
||||
<thead><tr><th>Capability</th><th>Timeout (s)</th><th>Retries</th><th>Breaker threshold</th></tr></thead>
|
||||
<thead><tr><th scope="col">Capability</th><th scope="col" id="@FieldId("timeout")">Timeout (s)</th><th scope="col" id="@FieldId("retries")">Retries</th><th scope="col" id="@FieldId("breaker")">Breaker threshold</th></tr></thead>
|
||||
<tbody>
|
||||
@foreach (var cap in ResilienceFormModel.Capabilities)
|
||||
{
|
||||
var row = _m.Policies[cap];
|
||||
var writeShaped = cap is "Write" or "AlarmAcknowledge";
|
||||
<tr>
|
||||
<td class="mono">@cap</td>
|
||||
<td><input type="number" class="form-control form-control-sm" @bind="row.TimeoutSeconds" @bind:after="EmitAsync" placeholder="default" disabled="@_m.ParseFailed" /></td>
|
||||
<td><input type="number" class="form-control form-control-sm" @bind="row.RetryCount" @bind:after="EmitAsync" placeholder="@(writeShaped ? "never" : "default")" disabled="@(writeShaped || _m.ParseFailed)" title="@(writeShaped ? "Writes/acks never retry — per-tag opt-in not yet available" : null)" /></td>
|
||||
<td><input type="number" class="form-control form-control-sm" @bind="row.BreakerFailureThreshold" @bind:after="EmitAsync" placeholder="default" disabled="@_m.ParseFailed" /></td>
|
||||
<th scope="row" class="mono" id="@FieldId(cap)">@cap</th>
|
||||
<td><input aria-labelledby="@(FieldId(cap) + " " + FieldId("timeout"))" type="number" class="form-control form-control-sm" @bind="row.TimeoutSeconds" @bind:after="EmitAsync" placeholder="default" disabled="@_m.ParseFailed" /></td>
|
||||
<td><input aria-labelledby="@(FieldId(cap) + " " + FieldId("retries"))" type="number" class="form-control form-control-sm" @bind="row.RetryCount" @bind:after="EmitAsync" placeholder="@(writeShaped ? "never" : "default")" disabled="@(writeShaped || _m.ParseFailed)" title="@(writeShaped ? "Writes/acks never retry — per-tag opt-in not yet available" : null)" /></td>
|
||||
<td><input aria-labelledby="@(FieldId(cap) + " " + FieldId("breaker"))" type="number" class="form-control form-control-sm" @bind="row.BreakerFailureThreshold" @bind:after="EmitAsync" placeholder="default" disabled="@_m.ParseFailed" /></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
@@ -70,6 +70,9 @@
|
||||
</section>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "resilience-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string? ResilienceConfig { get; set; }
|
||||
[Parameter] public EventCallback<string?> ResilienceConfigChanged { get; set; }
|
||||
|
||||
|
||||
+9
-6
@@ -3,8 +3,8 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">File type</label>
|
||||
<select class="form-select form-select-sm" @bind="_fileType" @bind:after="OnChangedAsync">
|
||||
<label for="@FieldId("field-01")" class="form-label">File type</label>
|
||||
<select id="@FieldId("field-01")" class="form-select form-select-sm" @bind="_fileType" @bind:after="OnChangedAsync">
|
||||
<option value="N">N — Integer</option>
|
||||
<option value="B">B — Binary/Bit</option>
|
||||
<option value="F">F — Float</option>
|
||||
@@ -17,14 +17,14 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">File number</label>
|
||||
<input type="number" class="form-control form-control-sm" min="0" max="999"
|
||||
<label for="@FieldId("field-02")" class="form-label">File number</label>
|
||||
<input id="@FieldId("field-02")" type="number" class="form-control form-control-sm" min="0" max="999"
|
||||
@bind="_fileNumber" @bind:after="OnChangedAsync" />
|
||||
<div class="form-text">e.g. 7 for N7</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Element</label>
|
||||
<input type="number" class="form-control form-control-sm" min="0" max="9999"
|
||||
<label for="@FieldId("field-03")" class="form-label">Element</label>
|
||||
<input id="@FieldId("field-03")" type="number" class="form-control form-control-sm" min="0" max="9999"
|
||||
@bind="_element" @bind:after="OnChangedAsync" />
|
||||
<div class="form-text">e.g. 0 for N7:0</div>
|
||||
</div>
|
||||
@@ -36,6 +36,9 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "ab-legacy-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
|
||||
|
||||
+9
-6
@@ -3,8 +3,8 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Register type</label>
|
||||
<select class="form-select form-select-sm" @bind="_regType" @bind:after="OnChangedAsync">
|
||||
<label for="@FieldId("field-01")" class="form-label">Register type</label>
|
||||
<select id="@FieldId("field-01")" class="form-select form-select-sm" @bind="_regType" @bind:after="OnChangedAsync">
|
||||
<option value="Coil">Coil (0x)</option>
|
||||
<option value="DiscreteInput">DiscreteInput (1x)</option>
|
||||
<option value="Input">Input (3x)</option>
|
||||
@@ -12,13 +12,13 @@
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Offset</label>
|
||||
<input type="number" class="form-control form-control-sm" min="0" max="99999"
|
||||
<label for="@FieldId("field-02")" class="form-label">Offset</label>
|
||||
<input id="@FieldId("field-02")" type="number" class="form-control form-control-sm" min="0" max="99999"
|
||||
@bind="_offset" @bind:after="OnChangedAsync" />
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<label class="form-label">Length</label>
|
||||
<input type="number" class="form-control form-control-sm" min="1" max="125"
|
||||
<label for="@FieldId("field-03")" class="form-label">Length</label>
|
||||
<input id="@FieldId("field-03")" type="number" class="form-control form-control-sm" min="1" max="125"
|
||||
@bind="_length" @bind:after="OnChangedAsync" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -29,6 +29,9 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "modbus-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
|
||||
|
||||
+11
-8
@@ -3,8 +3,8 @@
|
||||
|
||||
<div class="row g-3">
|
||||
<div class="col-md-2">
|
||||
<label class="form-label">Area</label>
|
||||
<select class="form-select form-select-sm" @bind="_area" @bind:after="OnChangedAsync">
|
||||
<label for="@FieldId("field-01")" class="form-label">Area</label>
|
||||
<select id="@FieldId("field-01")" class="form-select form-select-sm" @bind="_area" @bind:after="OnChangedAsync">
|
||||
<option value="DB">DB — Data Block</option>
|
||||
<option value="M">M — Merker</option>
|
||||
<option value="I">I — Input</option>
|
||||
@@ -14,19 +14,19 @@
|
||||
@if (_area == "DB")
|
||||
{
|
||||
<div class="col-md-2">
|
||||
<label class="form-label">DB number</label>
|
||||
<input type="number" class="form-control form-control-sm" min="1" max="65535"
|
||||
<label for="@FieldId("field-02")" class="form-label">DB number</label>
|
||||
<input id="@FieldId("field-02")" type="number" class="form-control form-control-sm" min="1" max="65535"
|
||||
@bind="_dbNumber" @bind:after="OnChangedAsync" />
|
||||
</div>
|
||||
}
|
||||
<div class="col-md-2">
|
||||
<label class="form-label">Offset (bytes)</label>
|
||||
<input type="number" class="form-control form-control-sm" min="0" max="65535"
|
||||
<label for="@FieldId("field-03")" class="form-label">Offset (bytes)</label>
|
||||
<input id="@FieldId("field-03")" type="number" class="form-control form-control-sm" min="0" max="65535"
|
||||
@bind="_offset" @bind:after="OnChangedAsync" />
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<label class="form-label">S7 type</label>
|
||||
<select class="form-select form-select-sm" @bind="_s7Type" @bind:after="OnChangedAsync">
|
||||
<label for="@FieldId("field-04")" class="form-label">S7 type</label>
|
||||
<select id="@FieldId("field-04")" class="form-select form-select-sm" @bind="_s7Type" @bind:after="OnChangedAsync">
|
||||
<option value="X">X — Bit</option>
|
||||
<option value="B">B — Byte</option>
|
||||
<option value="W">W — Word</option>
|
||||
@@ -42,6 +42,9 @@
|
||||
</div>
|
||||
|
||||
@code {
|
||||
private readonly string _fieldScope = "s7-address-picker-body-" + Guid.NewGuid().ToString("N");
|
||||
private string FieldId(string name) => $"{_fieldScope}-{name}";
|
||||
|
||||
[Parameter] public string CurrentAddress { get; set; } = "";
|
||||
[Parameter] public EventCallback<string> CurrentAddressChanged { get; set; }
|
||||
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
using AngleSharp.Dom;
|
||||
using Bunit;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
using Shouldly;
|
||||
using Xunit;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers;
|
||||
using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Drivers.Pickers;
|
||||
|
||||
namespace ZB.MOM.WW.OtOpcUa.AdminUI.Tests.Pages;
|
||||
|
||||
/// <summary>Common editor bodies retain native names and stable repeated-instance associations.</summary>
|
||||
[Trait("Category", "Unit")]
|
||||
public sealed class CommonControlAccessibilityTests : BunitContext
|
||||
{
|
||||
[Theory]
|
||||
[InlineData(typeof(ModbusAddressPickerBody))]
|
||||
[InlineData(typeof(AbLegacyAddressPickerBody))]
|
||||
[InlineData(typeof(S7AddressPickerBody))]
|
||||
[InlineData(typeof(DriverIdentitySection))]
|
||||
[InlineData(typeof(DriverResilienceSection))]
|
||||
public void CommonFields_TwoInstancesHaveResolvedNames(Type type)
|
||||
{
|
||||
var cut = Render<CascadingValue<EditContext>>(p => p.Add(x => x.Value,new EditContext(new object()))
|
||||
.Add(x => x.ChildContent,(RenderFragment)(builder =>
|
||||
{
|
||||
for (int i=0;i<2;i++)
|
||||
{
|
||||
builder.OpenComponent(0,type);builder.SetKey(i);
|
||||
if(type==typeof(DriverIdentitySection))
|
||||
{
|
||||
builder.AddAttribute(1,"Model",new DriverIdentitySection.DriverIdentityModel());
|
||||
builder.AddAttribute(2,"IsNew",true);builder.AddAttribute(3,"ShowDriverType",true);
|
||||
}
|
||||
builder.CloseComponent();
|
||||
}
|
||||
})));
|
||||
AssertRelationships(cut);
|
||||
}
|
||||
|
||||
private static void AssertRelationships(IRenderedComponent<CascadingValue<EditContext>> cut)
|
||||
{
|
||||
var ids=cut.FindAll("[id]").Select(e=>e.Id).ToArray();
|
||||
ids.Distinct(StringComparer.Ordinal).Count().ShouldBe(ids.Length);
|
||||
var inputs=cut.FindAll("input,select,textarea");inputs.ShouldNotBeEmpty();
|
||||
foreach(var input in inputs)
|
||||
{
|
||||
var name=input.GetAttribute("aria-label") ?? string.Join(" ",cut.FindAll("label").Where(e=>e.GetAttribute("for")==input.Id&&!string.IsNullOrEmpty(input.Id)).Select(e=>e.TextContent));
|
||||
if(string.IsNullOrWhiteSpace(name)&&input.GetAttribute("aria-labelledby") is {} labelledBy)
|
||||
name=string.Join(" ",labelledBy.Split(' ',StringSplitOptions.RemoveEmptyEntries).Select(id=>Find(cut,id).TextContent));
|
||||
if(string.IsNullOrWhiteSpace(name)) name=input.Closest("label")?.TextContent;
|
||||
name.ShouldNotBeNullOrWhiteSpace(input.OuterHtml);
|
||||
foreach(var id in (input.GetAttribute("aria-describedby")??"").Split(' ',StringSplitOptions.RemoveEmptyEntries)) Find(cut,id).ShouldNotBeNull();
|
||||
}
|
||||
foreach(var label in cut.FindAll("label[for]"))Find(cut,label.GetAttribute("for")!).ShouldNotBeNull();
|
||||
}
|
||||
private static IElement Find(IRenderedComponent<CascadingValue<EditContext>> cut,string id)=>cut.FindAll("[id]").Single(e=>e.Id==id);
|
||||
}
|
||||
Reference in New Issue
Block a user