@* Static OPC UA Client address builder: NodeId free text → verbatim.
Live browse deferred to a follow-up phase. *@
Note: Live OPC UA node browse is deferred to a follow-up phase.
Enter the NodeId string manually below.
Result:
@_built
@code {
[Parameter] public string CurrentAddress { get; set; } = "";
[Parameter] public EventCallback CurrentAddressChanged { get; set; }
private string _nodeId = "";
private string _built = "";
protected override void OnInitialized()
{
_built = _nodeId;
_ = CurrentAddressChanged.InvokeAsync(_built);
}
private async Task OnChangedAsync()
{
_built = _nodeId;
await CurrentAddressChanged.InvokeAsync(_built);
}
}