Table of Contents

List Command Panel

The key model is ListCommand.

Layout

  • Columns Layout (Two column with one splition bar)
    • Command Entry List Panel Provide entrys for selection The model is CommandEntryList.
    • Vertical Splition Bar
      • The bar can be drag to tune the width.
    • Selected Command Content Panel
      • The model is Command.
      • The panel is based on command type
      Tip

      The width of the entry block should expand to fulfill the content block.

Tip

Use Disabled Style for command panels if the Enable checkbox is not checked.

Note

Each command entry can be individually enabled or disabled without removing it from the list.

Features

Update the Title Label if the Command is updated by the Command Content Panel.

Source Code Path

See this page for git repository.

WPF Application Source Code Path

  • Mission/ListCommandPanel

Web Page Application Source Code Path

  • wwwroot/mission/panels/list-command-panel.html (Component HTML)
  • wwwroot/mission/panels/list-command-panel.css (Component styles)
  • wwwroot/mission/panels/list-command-panel.js (JavaScript component with full ListCommand logic)
  • Controller/MissionController.cs (REST API - ListCommand CRUD operations)