Skip to content

Make command dispatch deterministic and compact IED Explorer - #10

Merged
masarray merged 11 commits into
mainfrom
fix/command-dispatch-icon-compact
Jul 13, 2026
Merged

Make command dispatch deterministic and compact IED Explorer#10
masarray merged 11 commits into
mainfrom
fix/command-dispatch-icon-compact

Conversation

@masarray

@masarray masarray commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Field issues fixed

  1. Open/Close sometimes appeared to need two or three clicks before the IED received the command.
  2. The IED card showed two separate status dots in addition to the relay icon.
  3. The relay/BCU SVG was too small and enclosed by an unnecessary frame.
  4. The IED Explorer occupied more horizontal space than the compact card content needed.

Deterministic one-click command dispatch

  • Resolves the exact owning IED from the clicked signal instead of depending only on the globally selected card.
  • Latches the command row busy immediately on the first click and shows Dispatching… before connection preparation or control inspection.
  • A second click while the same operation is active is reported as already in progress rather than being silently ignored.
  • Serializes control-session open, native status reads, and Operate through the same per-IED MMS I/O gate used by report and polling traffic. This prevents concurrent MMS request/response contention during live monitoring.
  • Keeps feedback verification and timing reporting unchanged.

Safety retained

  • No automatic command retry.
  • No duplicate Select, SBOw, or Operate sequence.
  • No change to ctlNum, origin, Test, Check, interlock, synchrocheck, feedback timeout, or CommandTermination handling.

IED card and Explorer

  • Removes both connection/report activity dots from the card.
  • Uses the relay/BCU SVG itself as the connection indicator.
  • Disconnected: vivid red SVG with red glow.
  • Connected: vivid green SVG with green glow.
  • Enlarges the SVG from 22 px to 55 px, exactly 2.5×.
  • Removes the icon border, background tile, and surrounding frame.
  • Narrows the Explorer column from 292 px to 250 px, reduces the inter-panel gap, and compacts panel padding and discovery overlay widths.

Validation

GitHub Actions completed successfully:

  • ARIEC61850 Smart Control API verification
  • .NET restore
  • Release build
  • Portable Windows x64 publish
  • Artifact upload

A field-test note documents the required one-click Open/Close, CommandTermination, and process-feedback checks while reporting and polling remain active.

@masarray
masarray marked this pull request as ready for review July 13, 2026 08:58
@masarray
masarray merged commit 240ff97 into main Jul 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant