This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
source_files:
- DataPRO/Modules/SystemSettings/UISettings/Properties/AssemblyInfo.cs
generated_at: "2026-04-17T16:14:39.115871+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "a3e3207b6900c0bf"
---
# Properties
### Purpose
This module contains assembly metadata for the DBImportExportModule assembly. It is a standard .NET Framework AssemblyInfo file that defines version information, COM visibility settings, and a unique GUID for the assembly. It exists solely to provide assembly-level configuration and identification for the DBImportExport module.
### Public Interface
No public types are defined. This file contains only assembly-level attributes:
- `AssemblyTitle("DBImportExportModule")` - Sets the assembly title
- `AssemblyProduct("DBImportExportModule")` - Sets the product name
- `AssemblyCopyright("Copyright © 2016")` - Sets copyright information
- `ComVisible(false)` - Disables COM visibility for types in this assembly
- `Guid("bc9afa01-e327-4133-8818-141281f9b3a0")` - Unique identifier for COM interop
- `AssemblyVersion("1.0.0.0")` - Assembly version
- `AssemblyFileVersion("1.0.0.0")` - File version
### Invariants
- The GUID `bc9afa01-e327-4133

View File

@@ -0,0 +1,51 @@
---
source_files:
- DataPRO/Modules/SystemSettings/UISettings/View/ISOSettingsView.xaml.cs
generated_at: "2026-04-17T16:46:46.571447+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "3eee95fa845b86cd"
---
# Documentation: UISettingsView
## 1. Purpose
This module provides a WPF view component for UI settings configuration within the SystemSettings module hierarchy. It serves as a code-behind file for a XAML-based user interface, implementing the `IUISettingsView` interface to integrate with the broader application architecture. The view is responsible for rendering and managing user interface settings, though the actual UI layout is defined in the associated XAML file.
## 2. Public Interface
### `UISettingsView` (Class)
**Namespace:** `UISettings`
**Implements:** `IUISettingsView`
**Constructor:**
```csharp
public UISettingsView()
```
Initializes a new instance of the `UISettingsView` class. The constructor calls `InitializeComponent()`, which loads and instantiates the XAML-defined UI elements. This is the standard WPF pattern for code-behind initialization.
## 3. Invariants
- The class is declared `partial`, indicating it is compiled together with a XAML-generated partial class. The XAML file must exist and be properly configured.
- The class must implement `IUISettingsView`, implying contractual obligations defined by that interface (specifics not visible in this source).
- `InitializeComponent()` must be called exactly once during construction for the view to function correctly.
## 4. Dependencies
**This module depends on:**
- `DTS.Common.Interface` — Provides the `IUISettingsView` interface that this class implements.
- WPF infrastructure (implicit) — Required for `InitializeComponent()` and XAML parsing.
- Associated XAML file (`ISOSettingsView.xaml`) — Defines the visual composition of the view.
**What depends on this module:**
- Not determinable from this source file alone. Likely consumed by a settings module container, view model, or dependency injection framework within the `SystemSettings` module.
## 5. Gotchas
- **Naming mismatch:** The source file is named `ISOSettingsView.xaml.cs`, but the class is named `UISettingsView`. This discrepancy could indicate a historical rename, a copy-paste artifact, or a naming convention inconsistency. The actual XAML file name and class name must align for WPF to function correctly.
- **Minimal code-behind:** The class contains no additional logic beyond initialization. Any event handlers, data binding setup, or interaction logic may be defined elsewhere (possibly in the XAML, a view model, or another partial class definition not provided).

View File

@@ -0,0 +1,36 @@
---
source_files:
- DataPRO/Modules/SystemSettings/UISettings/ViewModel/ISOSettingsViewModel.cs
generated_at: "2026-04-17T16:46:49.279114+00:00"
model: "zai-org/GLM-5-FP8"
schema_version: 1
sha256: "5f572b9f7fac2a33"
---
# Documentation: UISettingsViewModel
## 1. Purpose
`UISettingsViewModel` is a Prism-based view model within the `UISettings` namespace that serves as the presentation logic handler for UI settings configuration. It implements `IUISettingsViewModel` and coordinates between its associated view (`IUISettingsView`) and the broader application infrastructure through Prism's event aggregation and region management. The class provides notification and confirmation dialog capabilities, busy state management, and exposes UI configuration flags for menu and navigation inclusion.
---
## 2. Public Interface
### Constructor
```csharp
public UISettingsViewModel(IUISettingsView view, IRegionManager regionManager, IEventAggregator eventAggregator, IUnityContainer unityContainer)
```
Initializes the view model, sets the view's `DataContext` to itself, creates interaction requests, and subscribes to `RaiseNotification` and `BusyIndicatorChangeNotification` events.
### Properties
| Property | Type | Description |
|----------|------|-------------|
| `View` | `IUISettingsView` | The associated view instance. |
| `NotificationRequest` | `InteractionRequest<Notification>` | Interaction request for displaying notification dialogs. |
| `ConfirmationRequest` | `InteractionRequest<Confirmation>` | Interaction request for displaying confirmation dialogs. |
| `IsDirty` | `bool` | Indicates whether the view model has unsaved changes. Private setter only. |
| `IsBusy` | `bool` | Controls busy indicator state. Bound to `BusyIndicatorChangeNotification` events. |
| `IsMenuIncluded` | `bool` | Flag indicating whether menu is included. |
| `IsNavigation