@page "/scripts" @attribute [Microsoft.AspNetCore.Authorization.Authorize] @rendermode RenderMode.InteractiveServer @using Microsoft.EntityFrameworkCore @using ZB.MOM.WW.OtOpcUa.Configuration @using ZB.MOM.WW.OtOpcUa.Configuration.Entities @inject IDbContextFactory DbFactory

Scripts

New script
@if (_rows is null) {

Loading…

} else {
Scripts are fleet-wide expression compilations referenced by virtual tags and scripted alarms. The default language is C#; expansion of the editor (Monaco syntax, dependency introspection) lands in Phase D.2.
@_rows.Count script@(_rows.Count == 1 ? "" : "s")
@if (_rows.Count == 0) {
No scripts defined.
} else { @foreach (var s in _rows) {
@s.ScriptId · @s.Name · @s.Language hash=@s.SourceHash[..12]…
@s.SourceCode
} }
} @code { private List