4.9 KiB
4.9 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
2026-04-17T15:25:23.094552+00:00 | zai-org/GLM-5-FP8 | 1 | 31a916a49292e99a |
DTS.Common.Interface Documentation
1. Purpose
This module defines the abstraction layer for the DTS Viewer application's presentation components. It establishes the contract interfaces for Views, ViewModels, and Modules following the Model-View-ViewModel (MVVM) pattern with Prism framework integration. The interfaces enable loose coupling between UI components, support dependency injection, and define the structure for modular plug-in architecture including export, viewer, and PSD report modules.
2. Public Interface
View Interfaces
All view interfaces inherit from IBaseView (defined in DTS.Common.Base) and serve as markers for view resolution:
| Interface | Description |
|---|---|
ITabView |
Marker interface for tab views |
IDiagView |
Marker interface for diagnostic views |
ITestsView |
Marker interface for test views |
IStatsView |
Marker interface for statistics views |
ICursorView |
Marker interface for cursor views |
IViewerView |
Marker interface for viewer views |
ITabItemView |
Marker interface for individual tab item views |
IPropertyView |
Marker interface for property views |
IViewerShellView |
Marker interface for the main shell view |
IGraphPropertyView |
Marker interface for graph property views |
IDockPanelVerticalView |
Marker interface for vertical dock panel views |
IDockPanelHorizontalView |
Marker interface for horizontal dock panel views |
IMainViewerView |
Marker interface for main viewer views (members commented out) |
IMainLiteView
public interface IMainLiteView : IBaseView
{
StackPanel MainShell { get; set; }
ContentControl MainRegion { get; set; }
ContentControl NavigationRegion { get; set; }
ContentControl HorizontalTabRegion { get; set; }
ContentControl VerticalTabRegion { get; set; }
}
Exposes named region controls for view composition in a "lite" version of the main view.
ViewModel Interfaces
All ViewModel interfaces inherit from IBaseViewModel (defined in DTS.Common.Base):
ITabViewModel
public interface ITabViewModel : IBaseViewModel
{
ITabView View { get; }
}
IDiagViewModel
public interface IDiagViewModel : IBaseViewModel
{
IDiagView View { get; }
}
IStatsViewModel
public interface IStatsViewModel : IBaseViewModel
{
IStatsView View { get; }
}
ICursorViewModel
public interface ICursorViewModel : IBaseViewModel
{
ICursorView View { get; }
}
ITestsViewModel
public interface ITestsViewModel : IBaseViewModel
{
ITestsView View { get; }
}
IViewerViewModel
public interface