Player Panel
The model of the player panel is MachiningProject and AppService.
Step by Step Program Construction Check List
- Create the
Player PanelLayout and setPlayer Panel/RenderingCanvas. - Set behavior of RenderingCanvas.
- Create Player Tool Bar.
- Create layout of Player extended RenderingCanvas Tool Bar.
- Complete Behavior of
Navigation Menu/Playeron the Main Panel. - Build behavior of
Player extended RenderingCanvas Tool Bar- Set behavior of Behavior of CL Strip Buttons and Fit View Button.
- Set behavior of Behavior of Project Rendering Items DropDown.
- Set notification to
Player extended RenderingCanvas Tool Barif project changed by Main Panel.
- Set Player Panel as default panel on
Page Panelwhen open the main window. The related toolbar has to be set, too. - Build Session Message Panel.
- Build Step Present Preference Page
- Build Selected-Step Info Panel
Belonged Tool Bars
Layout of Player Panel
- Central RenderingCanvas
- vertical splition bar (draggable to resize the width of the two div)
- Side Panel
- Upper Selected-Step Info Panel
- horizontal splition bar (draggable to resize the height of the two panel)
- Lower Session Message 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