Associate ScadaBridge controls, guidance and editor errors
This commit is contained in:
@@ -38,17 +38,17 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="mb-2">
|
||||
<label class="form-label small">Identifier</label>
|
||||
<input type="text" class="form-control form-control-sm" @bind="_formIdentifier"
|
||||
<label class="form-label small" for="@($"{_fieldScope}-field-1")">Identifier</label>
|
||||
<input id="@($"{_fieldScope}-field-1")" type="text" class="form-control form-control-sm" @bind="_formIdentifier"
|
||||
disabled="@IsEditMode" />
|
||||
</div>
|
||||
<div class="mb-2">
|
||||
<label class="form-label small">Name</label>
|
||||
<input type="text" class="form-control form-control-sm" @bind="_formName" />
|
||||
<label class="form-label small" for="@($"{_fieldScope}-field-2")">Name</label>
|
||||
<input id="@($"{_fieldScope}-field-2")" type="text" class="form-control form-control-sm" @bind="_formName" />
|
||||
</div>
|
||||
<div class="mb-0">
|
||||
<label class="form-label small">Description</label>
|
||||
<input type="text" class="form-control form-control-sm" @bind="_formDescription" />
|
||||
<label class="form-label small" for="@($"{_fieldScope}-field-3")">Description</label>
|
||||
<input id="@($"{_fieldScope}-field-3")" type="text" class="form-control form-control-sm" @bind="_formDescription" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -59,17 +59,17 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="mb-2">
|
||||
<label class="form-label small">Akka Address (legacy — unused)</label>
|
||||
<input type="text" class="form-control form-control-sm" @bind="_formNodeAAddress"
|
||||
<label class="form-label small" for="@($"{_fieldScope}-field-4")">Akka Address (legacy — unused)</label>
|
||||
<input aria-describedby="@($"{_helpScope}-0")" id="@($"{_fieldScope}-field-4")" type="text" class="form-control form-control-sm" @bind="_formNodeAAddress"
|
||||
placeholder="akka.tcp://scadabridge@host:port/user/site-communication" />
|
||||
<div class="form-text">
|
||||
<div class="form-text" id="@($"{_helpScope}-0")">
|
||||
Retained for historical configuration only — nothing reads it at runtime.
|
||||
Central dials the gRPC address below.
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-0">
|
||||
<label class="form-label small">gRPC Address</label>
|
||||
<input type="text" class="form-control form-control-sm" @bind="_formGrpcNodeAAddress"
|
||||
<label class="form-label small" for="@($"{_fieldScope}-field-5")">gRPC Address</label>
|
||||
<input id="@($"{_fieldScope}-field-5")" type="text" class="form-control form-control-sm" @bind="_formGrpcNodeAAddress"
|
||||
placeholder="http://host:8083" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -81,17 +81,17 @@
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="mb-2">
|
||||
<label class="form-label small">Akka Address (legacy — unused)</label>
|
||||
<input type="text" class="form-control form-control-sm" @bind="_formNodeBAddress"
|
||||
<label class="form-label small" for="@($"{_fieldScope}-field-6")">Akka Address (legacy — unused)</label>
|
||||
<input aria-describedby="@($"{_helpScope}-1")" id="@($"{_fieldScope}-field-6")" type="text" class="form-control form-control-sm" @bind="_formNodeBAddress"
|
||||
placeholder="akka.tcp://scadabridge@host:port/user/site-communication" />
|
||||
<div class="form-text">
|
||||
<div class="form-text" id="@($"{_helpScope}-1")">
|
||||
Retained for historical configuration only — nothing reads it at runtime.
|
||||
Central dials the gRPC address below.
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-0">
|
||||
<label class="form-label small">gRPC Address</label>
|
||||
<input type="text" class="form-control form-control-sm" @bind="_formGrpcNodeBAddress"
|
||||
<label class="form-label small" for="@($"{_fieldScope}-field-7")">gRPC Address</label>
|
||||
<input id="@($"{_fieldScope}-field-7")" type="text" class="form-control form-control-sm" @bind="_formGrpcNodeBAddress"
|
||||
placeholder="http://host:8083" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -180,3 +180,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@code { private readonly string _fieldScope = "field-" + Guid.NewGuid().ToString("N"); }
|
||||
|
||||
@code { private readonly string _helpScope = "help-" + Guid.NewGuid().ToString("N"); }
|
||||
|
||||
Reference in New Issue
Block a user