@page "/presentation" @layout ZB.MOM.WW.ScadaBridge.CentralUI.Components.Layout.MainLayout @using ZB.MOM.WW.ScadaBridge.Commons.Types.Debugging @using ZB.MOM.WW.ScadaBridge.ScriptAnalysis

Local flow and table presentation samples

Actual flow/list/table components, synthetic outcomes and long values only. No live/replay command or backend is called.

Successful sample · Warning sample · Failure sample · Information sample · Muted sample · Secondary sample
Synthetic identifierDetails @item@LongValue @code { private static readonly string LongValue = "synthetic.identifier." + new string('x', 200); private readonly string[] _items = ["Plant A", "Plant B"]; private static readonly FlowStep[] Steps = Enum.GetValues().Select((outcome, i) => new FlowStep(Guid.NewGuid(), null, null, FlowStepKind.ApiCall, FlowLane.Site, "Synthetic " + outcome, "Illustrative outcome", DateTimeOffset.UnixEpoch.AddSeconds(i), i * 10, outcome, null, null, null, "local", null, null, null, null)).ToArray(); private readonly PredictedFlow _prediction = new([new PredictedNode("ghost", FlowStepKind.ScriptRun, FlowLane.Site, "Synthetic predicted-only branch", false, "Not observed in this synthetic run")], []); private readonly FlowGraph _graph = new(Steps, Steps.Zip(Steps.Skip(1)).Select(pair => new FlowEdge(pair.First.EventId, pair.Second.EventId, false, false)).ToArray(), false, false); }