diff --git a/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Deployment/FlowStepDetail.razor b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Deployment/FlowStepDetail.razor new file mode 100644 index 00000000..1c159372 --- /dev/null +++ b/src/ZB.MOM.WW.ScadaBridge.CentralUI/Components/Deployment/FlowStepDetail.razor @@ -0,0 +1,177 @@ +@namespace ZB.MOM.WW.ScadaBridge.CentralUI.Components.Deployment +@using System.Globalization +@using System.Text.Json +@using ZB.MOM.WW.ScadaBridge.Commons.Types.Debugging +@inject NavigationManager Navigation + +@* Flow Debugger step detail (design 2026-09-05 §4): tabs Input · Output · + Attribute writes · Timing plus a "Where this ran" column with drill-ins. *@ + +
@Pretty(Step.InputJson)+ break; + case "Output": + @if (!string.IsNullOrEmpty(Step.ErrorMessage)) + { +
@Pretty(Step.OutputJson)+ break; + case "Writes": + @if (Step.Extra?.Writes is { Count: > 0 } writes) + { +
| Attribute | Written | Result |
|---|---|---|
| @w.Attribute | +@(w.Written ?? "—") | +@(w.Success ? "ok" : (w.Error ?? "failed")) | +