Table of Contents

Player Panel

The model of the player panel is MachiningProject and <xref:Hi.HiNcKits.AppService>.

Step by Step Program Construction Check List

  1. Create the Player Panel Layout and set Player Panel/RenderingCanvas.
  2. Set behavior of RenderingCanvas.
  3. Create Player Tool Bar.
  4. Create layout of Player extended RenderingCanvas Tool Bar.
  5. Complete Behavior of Navigation Menu/Player on the Main Panel.
  6. Build behavior of Player extended RenderingCanvas Tool Bar
    1. Set behavior of Behavior of CL Strip Buttons and Fit View Button.
    2. Set behavior of Behavior of Project Rendering Items DropDown.
    3. Set notification to Player extended RenderingCanvas Tool Bar if project changed by Main Panel.
  7. Set Player Panel as default panel on Page Panel when open the main window. The related toolbar has to be set, too.
  8. Build Session Message Panel.
  9. Build Step Present Preference Page
  10. Build Selected-Step Info Panel

Belonged Tool Bars

Layout of Player Panel

Behavior of Player Panel/RenderingCanvas

On initializing, create MachiningProjectDisplayee and set it to RenderingCanvas.DispEngine.Displayee. The MachiningProjectDisplayee constructor argument is from the model MachiningProject from Player Panel.

Dispose RenderingCanvas on Player Panel disposing.

Source Code Path and Specification

See this page for git repository.

WPF Application Source Code Path

  • Play/PlayerPanel

Webapi Application Source Code Path

  • wwwroot/player/player-panel.js
  • wwwroot/player/player-panel.html
  • Players/PlayerController.cs
  • Players/PlayerStatusHub.cs
  • Players/PlayerStatusService.cs
  • Players/SessionMessageHub.cs
  • Players/SessionMessageService.cs
  • Players/SelectedStepInfoHub.cs
  • Players/SelectedStepInfoService.cs